On Thu, Oct 17, 2013 at 04:51:28PM +0200, Johannes Berg wrote: > On Thu, 2013-10-17 at 16:48 +0200, Antonio Quartulli wrote: > > On Thu, Oct 17, 2013 at 04:36:28PM +0200, Johannes Berg wrote: > > > On Tue, 2013-10-15 at 00:38 +0200, Antonio Quartulli wrote: > > > > From: Antonio Quartulli <antonio@xxxxxxxxxxxxx> > > > > > > > > To allow cfg80211 to use the real channel to pick up the > > > > proper (i)bss object, store the used channel in > > > > wdev->channel during ibss_join > > > > > > WTF? No, mac80211 can't just randomly modify cfg80211-owned data. > > > > Mh, ok. :) > > > > What about setting wdev->channel in __cfg80211_join_ibss() right after having > > set wdev->ssid ? > > This way we leave mac80211 out and we totally handle this thing in cfg80211 > > only. > > Locking might be problematic though. I also don't know where else the > channel might be used? I don't think it is used elsewhere in IBSS mode -- Antonio Quartulli
Attachment:
signature.asc
Description: Digital signature