On Thu, 2011-09-22 at 10:13 +0300, Victor Goldenshtein wrote: > On 22/09/2011 09:49, Luciano Coelho wrote: > > > I guess what Johannes meant is that you can send the genl message in > > atomic context, so you don't need to save stuff and use the event work. > > You can just send it immediately when cfg80211_inform_bss() and > > cfg80211_inform_bss_frame() are called. > > > > I'm not really sure you can send genl messages while atomic, I think I > > had problems with that earlier, but you can try. ;) > > > > ;) > > Well I already did, and it's not working, when you"ll try to send genl > messages while atomic, you will get kernel warning regarding "sleeping > function called from invalid context". Where? We do that a lot, e.g. nl80211_send_mlme_event(). johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html