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. (I think with this change patch 1/2 makes more sense?) -- Antonio Quartulli
Attachment:
signature.asc
Description: Digital signature