wl12xx: check the actual vif operstate in wl1271_dev_notify
authorEliad Peller <eliad@wizery.com>
Sun, 18 Dec 2011 18:25:45 +0000 (20:25 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 20 Dec 2011 20:30:15 +0000 (22:30 +0200)
commit6ab70916939f055d9aaa9acc28a3a5bdfe9649f0
tree8e90082732f08774042536a282541ae9e3a3871f
parentb890f4c363ebdc9c38d7f1ec91e9ec0976c4fb6a
wl12xx: check the actual vif operstate in wl1271_dev_notify

The current wl1271_dev_notify implementation sets the
new operstate to all associated stations (while only
a specific vif was changed).

Until we'll have a method to get the actual vif from
the given dev, check the current operstate of each vif.

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