diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-04-16 21:08:41 +0000 |
commit | c0c371b58134d391f46de6dabf2bd0a96267cb38 (patch) | |
tree | 7b489799c8ddbfdd0ac3462317ce2be1a41368ed /package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch | |
parent | c379502147ee31e5b429ea8c38ae8c79e158e96a (diff) | |
download | mtk-20170518-c0c371b58134d391f46de6dabf2bd0a96267cb38.zip mtk-20170518-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.gz mtk-20170518-c0c371b58134d391f46de6dabf2bd0a96267cb38.tar.bz2 |
mac80211: update to wireless-testing 2012-04-13
SVN-Revision: 31322
Diffstat (limited to 'package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch')
-rw-r--r-- | package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch b/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch index 0962406..6e9e5ef 100644 --- a/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch +++ b/package/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c -@@ -1432,15 +1432,6 @@ static int ath9k_add_interface(struct ie +@@ -1445,15 +1445,6 @@ static int ath9k_add_interface(struct ie } } @@ -16,7 +16,7 @@ ath_dbg(common, CONFIG, "Attach a VIF of type: %d\n", vif->type); sc->nvifs++; -@@ -1465,15 +1456,6 @@ static int ath9k_change_interface(struct +@@ -1478,15 +1469,6 @@ static int ath9k_change_interface(struct mutex_lock(&sc->mutex); ath9k_ps_wakeup(sc); @@ -32,3 +32,13 @@ if (ath9k_uses_beacons(new_type) && !ath9k_uses_beacons(vif->type)) { if (sc->nbcnvifs >= ATH_BCBUF) { +--- a/drivers/net/wireless/ath/ath9k/init.c ++++ b/drivers/net/wireless/ath/ath9k/init.c +@@ -653,6 +653,7 @@ static const struct ieee80211_iface_limi + BIT(NL80211_IFTYPE_WDS) }, + { .max = 8, .types = BIT(NL80211_IFTYPE_AP) | + BIT(NL80211_IFTYPE_P2P_GO) | ++ BIT(NL80211_IFTYPE_ADHOC) | + BIT(NL80211_IFTYPE_MESH_POINT) }, + }; + |