]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: notify upper layers after lower
authorReinette Chatre <reinette.chatre@intel.com>
Thu, 3 Apr 2008 23:08:49 +0000 (16:08 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 8 Apr 2008 20:44:43 +0000 (16:44 -0400)
commit41a7be4858b886f83522e62d409263fcdb82653b
treee02d6c5cb242d7bd31e32068c24b3fc572f50b11
parent03d29c684917860f90f897565b297c4aba713e0b
mac80211: notify upper layers after lower

When drivers receive change notification they may do work that
will enable the changes to take effect. For example, if new association
the device needs to be programmed with this information.
Give the driver chance to make the changes before notifying the
upper layer - thus preventing race condition where upper layer
attempts to utilize state that may not be configured yet.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c