]> err.no Git - linux-2.6/commit
[PATCH] ieee80211: Don't update network statistics from off-channel packets.
authorJames Ketrenos <jketreno@linux.intel.com>
Wed, 8 Mar 2006 19:14:45 +0000 (13:14 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 17 Mar 2006 20:38:55 +0000 (15:38 -0500)
commitf44349f2217d05e4575f24edc3c0e0022f5d448f
tree615c789b22164bf4afef198795b75c701936efd6
parent7c567894480daef05bc13abdc4b9414541e245cb
[PATCH] ieee80211: Don't update network statistics from off-channel packets.

This patch fixes a problem in the ieee80211 probe response and beacon
reception code that would use the packet statistics for a network even
if they were received on a channel other than that which the network
exists on.

This causes a problem in overlapping channels where, for example, a
strong AP on channel 2 could have its beacons received on channels 1 and
3, but at much lower signal levels.  If scanning was done sequentially,
this means the beacon received on channel 3 would update the AP's signal
level as being much lower than it really is, which subsequently could
cause that AP to be passed over and an alternate AP selected.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_rx.c