mac80211: move netif_carrier_on to after ieee80211_bss_info_change_notify
authorGuy Cohen <guy.cohen@intel.com>
Thu, 3 Jul 2008 16:56:13 +0000 (19:56 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 7 Jul 2008 19:31:39 +0000 (15:31 -0400)
commit8db9369ff92b1cd93566baadd8bd2992f025fdd0
tree0b52162cacc30138045d0a52476d0a61365ac10d
parent0ff1cca0e272045b9c11a2ff94bd3e6893c9308c
mac80211: move netif_carrier_on to after ieee80211_bss_info_change_notify

Putting netif_carrier_on before configuring the driver/device with the
new association state may cause a race (tx frames may be sent before
configuration is done)

Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c