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
..
2015-04-09 15:00:03 +03:00
2014-08-26 09:35:54 +02:00
2015-03-30 10:07:12 +03:00
2015-01-23 21:37:04 +02:00
2015-01-15 14:44:42 +02:00
2014-08-11 12:19:53 -07:00
2014-08-28 14:41:56 -04:00
2014-08-28 14:41:56 -04:00