]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: check the vif's operstate after join
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 10:03:12 +0000 (13:03 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 27 Jun 2011 10:56:14 +0000 (13:56 +0300)
commit7698c21b2800236057f6451e400ea6879085595d
tree7978aecc11cd1057bb7a3e55c8538624454cc1d4
parentd28658c405483063d92079f7f2f5fdd0e02e3fea
wl12xx: check the vif's operstate after join

When resuming while connected (without wowlan), the interface
is already IF_OPER_UP, so we won't get the notifier callback,
and hence never complete the association (from wl12xx perspective)

This situation, among other potential problems, prevents the
station from entering psm.

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