Michal Kazior 7c8cc7eb4f 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>
2015-04-09 15:00:03 +03:00
..
2014-04-09 10:55:29 +02:00
2015-01-23 19:12:12 +02:00
2015-03-30 10:07:12 +03:00
2015-02-03 15:31:04 +02:00
2014-10-02 14:23:14 -04:00
2014-10-07 14:48:37 -04:00
2014-10-02 14:23:14 -04:00
2013-01-14 11:32:44 +01:00
2014-10-02 14:23:14 -04:00
2014-10-02 14:23:14 -04:00