]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac35fe090f608c07f1037662f0cfd3f3d29a1ff3
tree3eb62b56b636e336033fece7b7089b1e28b254ad
parente08b24519407037a68cf625449c0fcdb0fd0b2de
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