Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c23516f authored by Manual Munz's avatar Manual Munz Committed by John W. Linville
Browse files

b43: Fix beacon problem in ad-hoc mode



In ad-hoc mode, driver b43 does not issue beacons.

Signed-off-by: default avatarManual Munz <freifunk@somakoma.de>
Tested-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: default avatarLarry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@kernel.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 5d59bbce
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1632,7 +1632,8 @@ static void handle_irq_beacon(struct b43_wldev *dev)
	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. */