wl12xx: set do_join on BSS_CHANGED_ASSOC
authorEliad Peller <eliad@wizery.com>
Mon, 12 Mar 2012 12:53:04 +0000 (14:53 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 10 Apr 2012 09:13:28 +0000 (12:13 +0300)
commit446f5ca19aef28fcc3f42e08b0ad8da7cd59114b
treee29d8ac051aec794ee66b2a26725d605ff0424d9
parent47107e84446f4724d25c724493679cc50eeef53c
wl12xx: set do_join on BSS_CHANGED_ASSOC

wl12xx sets the do_join flag (which later starts the
sta role) when the bssid was changed and the sta is
associated. However, this no longer happens after
the "mac80211: remove spurious BSSID change flag"
patch.

Fix it by setting the do_join flag on BSS_CHANGED_ASSOC
(for IBSS, do_join is already set on BSS_CHANGED_IBSS)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c