From: Vasanthakumar Thiagarajan Date: Fri, 11 Nov 2011 15:03:00 +0000 (+0530) Subject: ath6kl: Fix bug in setting default key index for tx in AP mode X-Git-Tag: v3.3-rc1~182^2~44^2~72^2~35 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cefa44f140bc88def4f68f38c76d37d5fd61630;p=pandora-kernel.git ath6kl: Fix bug in setting default key index for tx in AP mode vif->def_txkey_index is set to key_index in ath6kl_cfg80211_add_key(). If the interface is configured with multiple static wep keys, vif->def_txkey_index would be holding the index of the last key configured, not the default tx key index. Remove this unnecessary default key index setting in ath6kl_cfg80211_add_key() to configure the right key index in WEP thereby make it work when multiple wep keys are configured. Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: Kalle Valo --- Reading git-diff-tree failed