Search Linux Wireless

Re: [PATCH] mac80211: hardware scan rework (V2)

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

 



Acually it is better to bock any managemnt frame task while scanning,
in this function we might end up calling the driver to tune to a
channel, which will cause to stop scan. I think it is better to keep
the check and return if we are doing any scan. I guess this condition
is added to stabilize the mac80211 and it will do the same for iwl
driver with HW scan.
> >
> > > @@ -1985,7 +2003,7 @@ void ieee80211_sta_work(struct work_struct
> > *work)
> > >     if (!netif_running(dev))
> > >             return;
> > >
> > > -   if (local->sta_scanning)
> > > +   if (local->sta_sw_scanning || local->sta_hw_scanning)
> > >             return;
> >
> > Shouldn't the sta work be able to run normally while hw scan is in
> > progress?
> >
-
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