On 17.09.2011 23:43, Manuel Munz wrote: > Hi, > > i want to use b43 on older broadcom wireless routers with openwrt, but > there seems to be a problem: The router doesn't send beacons in adhoc > mode (verified with wireshark), which means users can't see the network > in a network scan. So is there a problem in the adhoc implementation > with b43? Could someone please have a look at this? It is preventing us > from using b43 in our mesh for too long now. > Hi, after trying various things i came up with the following patch which seems to address the issue for me. regards, Manuel
--- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -1616,7 +1616,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. */
Attachment:
signature.asc
Description: OpenPGP digital signature