]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb100d8b9f16d0e1061f2d6012211b5d7991c058f
tree84e316833522bc0c644129c2abcd23ca7d81ab2f
parent079eb02f8298446fac949b46c1084ea503539ac5
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