Search Linux Wireless

Re: [PATCH] mac80211: support hw scan while idle

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

 



On Thu, Feb 2, 2012 at 5:13 PM, Helmut Schaa
<helmut.schaa@xxxxxxxxxxxxxx> wrote:
> On Thu, Feb 2, 2012 at 12:13 PM, Eliad Peller <eliad@xxxxxxxxxx> wrote:
> [...]
>> -       if (local->scan_sdata) {
>> +       if (local->scan_sdata &&
>> +           !(local->hw.flags & IEEE80211_HW_SCAN_WHILE_IDLE)) {
>
> Maybe check for the existence of the hw_scan callback here? Otherwise a
> driver setting this flag without providing a hw_scan callback might cause
> trouble ...
>
i'll add a check in ieee80211_register_hw().

thanks.
--
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