From: Michal Kazior Date: Wed, 1 Apr 2015 19:53:19 +0000 (+0300) Subject: ath10k: fix arvif->wep_keys clearing X-Git-Tag: omap-for-v4.3/legacy-v2-signed~163^2~230^2~34^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c8cc7eb4f08d8de2cc2a4b093bad1499b47eb45;p=pandora-kernel.git 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 Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed