ath10k: fix arvif->wep_keys clearing
authorMichal Kazior <michal.kazior@tieto.com>
Wed, 1 Apr 2015 19:53:19 +0000 (22:53 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 9 Apr 2015 12:00:03 +0000 (15:00 +0300)
commit7c8cc7eb4f08d8de2cc2a4b093bad1499b47eb45
tree3619a672af887d8370386d1adfd486d3b3c000ae
parent5d5c8ec9e46c29f284316615ea8dea179bde4be6
ath10k: fix arvif->wep_keys clearing

The variable should be cleared regardless of
whether there's a peer associated with the key or
not.

This fixes case when user first associates with 2
WEP keys and then disconnects and connects with 1
WEP key. This resulted in WEP key count being 2 in
the driver leading to default keyidx fixup
failure.

Tested-by: Bartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
This page took 0.034408 seconds and 5 git commands to generate.