X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=package%2Fkernel%2Fmac80211%2Fpatches%2F410-ath9k_allow_adhoc_and_ap.patch;h=96e2f6d0fcf6bb29ae37d263f55a9913d61c0bc2;hp=e5da942d08fc7ed50d31e4a8c4d38c2f4c3e7e45;hb=8d1cb3a2ec444c94a3c3c179d05a925f38e920fd;hpb=79dd82690b49f562fead1236828952a4ff55b19e diff --git a/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch b/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch index e5da942d08..96e2f6d0fc 100644 --- a/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch +++ b/package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch @@ -1,10 +1,10 @@ --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -779,6 +779,7 @@ static const struct ieee80211_iface_limi +@@ -865,6 +865,7 @@ static const struct ieee80211_iface_limi #endif BIT(NL80211_IFTYPE_AP) | BIT(NL80211_IFTYPE_P2P_GO) }, + { .max = 1, .types = BIT(NL80211_IFTYPE_ADHOC) }, }; - + static const struct ieee80211_iface_limit if_dfs_limits[] = {