Search Linux Wireless

Re: [PATCH 7/7] mac80211: unset SDATA_STATE_OFFCHANNEL when cancelling a scan

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

 



On Mon, Nov 01, 2010 at 05:55:51PM -0700, Brian Cavagnolo wrote:

> For client STA interfaces, ieee80211_do_stop unsets the relevant
> interface's SDATA_STATE_RUNNING state bit prior to cancelling an
> interrupted scan.  When ieee80211_offchannel_return is invoked as
> part of cancelling the scan, it doesn't bother unsetting the
> SDATA_STATE_OFFCHANNEL bit because it sees that the interface is
> down.  Normally this doesn't matter because when the client STA
> interface is brought back up, it will probably issue a scan.  But
> in some cases (e.g., the user changes the interface type while it
> is down), the SDATA_STATE_OFFCHANNEL bit will remain set.  This
> prevents the interface queues from being started.  So we
> unconditionally unset this bit when we cancel a scan.

How does this patch fit into the series?
--
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