wl12xx: consider bss_conf->idle instead of hw->conf.flags
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:46 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:24 +0000 (15:45 +0200)
commit8a6a84a471f7de1845174d1dd66b35074d9d9398
tree24bbc39f28dc3c358ae5d6e3984116635463a142
parent349345a4ec631cd98767b58b065535dd2278697c
wl12xx: consider bss_conf->idle instead of hw->conf.flags

On disassociation, check only whether the current vif
is idle, instead of checking whether the device is idle.

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