]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: no BSS changes to driver from beacons processed during scanning
authorReinette Chatre <reinette.chatre@intel.com>
Wed, 9 Apr 2008 23:56:15 +0000 (16:56 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 16 Apr 2008 19:59:56 +0000 (15:59 -0400)
commitd18ef29f34eb33099d387a327abe139f3915a829
tree18547f7c3a6f9e9c86249bcafbfe9e3cc4845db2
parent8d0c7fad35538e02dff6fdb2d67943ae582819b3
mac80211: no BSS changes to driver from beacons processed during scanning

There is no need to send BSS changes to driver from beacons processed
during scanning. We are more interested in beacons from an AP with which
we are associated - these will still be used to send updates to driver as
the beacons are received without scanning.

This change·removes the requirement that bss_info_changed needs to be atomic.
The beacons received during scanning are processed from a tasklet, but if we
do not call bss_info_changed for these beacons there is no need for it to be
atomic. This function (bss_info_changed) is called either from workqueue or
ioctl in all other instances.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/mlme.c