diff options
Diffstat (limited to 'package/mac80211/patches/550-ath9k_fix_wep_adhoc_crash.patch')
-rw-r--r-- | package/mac80211/patches/550-ath9k_fix_wep_adhoc_crash.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/package/mac80211/patches/550-ath9k_fix_wep_adhoc_crash.patch b/package/mac80211/patches/550-ath9k_fix_wep_adhoc_crash.patch deleted file mode 100644 index a71db0440b..0000000000 --- a/package/mac80211/patches/550-ath9k_fix_wep_adhoc_crash.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/drivers/net/wireless/ath/ath9k/common.c -+++ b/drivers/net/wireless/ath/ath9k/common.c -@@ -319,6 +319,10 @@ int ath9k_cmn_key_config(struct ath_comm - idx = ath_reserve_key_cache_slot(common, key->alg); - break; - case NL80211_IFTYPE_ADHOC: -+ if (!sta) { -+ idx = key->keyidx; -+ break; -+ } - memcpy(gmac, sta->addr, ETH_ALEN); - gmac[0] |= 0x01; - mac = gmac; |