wl12xx: make WL1271_FLAG_IDLE flag per-vif
authorEliad Peller <eliad@wizery.com>
Sun, 18 Dec 2011 18:25:41 +0000 (20:25 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 20 Dec 2011 20:30:14 +0000 (22:30 +0200)
commita0c7b7825e026c7acf63fd92a5182efd3aff637f
tree84e316833522bc0c644129c2abcd23ca7d81ab2f
parent5b37ddfec23c17e16b99d8b5c5d1815b312af060
wl12xx: make WL1271_FLAG_IDLE flag per-vif

This flag should be set per-vif, rather than globally.

Rename the flag to indicate IN_USE (rather than IDLE), as
in the default configuration (i.e. flag is clear) the vif
should be idle.

Change all the bit operations (and elp conditions) appropriately.

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