mac80211: fix release_reorder_timeout in scan
authorJohannes Berg <johannes.berg@intel.com>
Fri, 24 Sep 2010 09:21:08 +0000 (11:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 27 Sep 2010 19:57:53 +0000 (15:57 -0400)
commit4080c7cdc23f26c6e6166a70f50fa43814552d81
tree3eb62b56b636e336033fece7b7089b1e28b254ad
parent4b0dd98e70b6516c2c26f28091c2fb09f0ecf215
mac80211: fix release_reorder_timeout in scan

Even if the reorder timeout timer fires while
scanning, the frames weren't received during
scanning and therefore shouldn't be dropped.
To implement this, changes to the passive scan
RX handler simplify understanding it, because
it currently checks HW_SCANNING independently
of a packet's in-scan receive status (which
doesn't make a big difference, since scan_rx()
will only pick up probe responses and beacons,
which can't be aggregated.)

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/rx.c