1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

b43: merge ad-hoc beacon fix

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28258 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd
2011-09-19 09:59:00 +00:00
parent 428f843cf0
commit c4b1c8b260
3 changed files with 14 additions and 2 deletions

View File

@@ -2848,3 +2848,15 @@
}
/* Note: country IE parsing is done for us by cfg80211 */
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -1613,7 +1613,8 @@ static void handle_irq_beacon(struct b43
u32 cmd, beacon0_valid, beacon1_valid;
if (!b43_is_mode(wl, NL80211_IFTYPE_AP) &&
- !b43_is_mode(wl, NL80211_IFTYPE_MESH_POINT))
+ !b43_is_mode(wl, NL80211_IFTYPE_MESH_POINT) &&
+ !b43_is_mode(wl, NL80211_IFTYPE_ADHOC))
return;
/* This is the bottom half of the asynchronous beacon update. */