Search Linux Wireless

Re: [RFC 3/5] nl80211/cfg80211: adding intermediate scan result event.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux