mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
5d59bbce3d
commit
8c23516fbb
1 changed files with 2 additions and 1 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Reference in a new issue