Skip to content

Commit 8c23516

Browse files
mmunzlinvjw
authored andcommitted
b43: Fix beacon problem in ad-hoc mode
In ad-hoc mode, driver b43 does not issue beacons. Signed-off-by: Manual Munz <[email protected]> Tested-by: Larry Finger <[email protected]> Signed-off-by: Larry Finger <[email protected]> Cc: Stable <[email protected]> Signed-off-by: John W. Linville <[email protected]>
1 parent 5d59bbc commit 8c23516

File tree

1 file changed

+2
-1
lines changed
  • drivers/net/wireless/b43

1 file changed

+2
-1
lines changed

drivers/net/wireless/b43/main.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,8 @@ static void handle_irq_beacon(struct b43_wldev *dev)
16321632
u32 cmd, beacon0_valid, beacon1_valid;
16331633

16341634
if (!b43_is_mode(wl, NL80211_IFTYPE_AP) &&
1635-
!b43_is_mode(wl, NL80211_IFTYPE_MESH_POINT))
1635+
!b43_is_mode(wl, NL80211_IFTYPE_MESH_POINT) &&
1636+
!b43_is_mode(wl, NL80211_IFTYPE_ADHOC))
16361637
return;
16371638

16381639
/* This is the bottom half of the asynchronous beacon update. */

0 commit comments

Comments
 (0)