]> 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)
commit09c22e7f24b75b9c0bde6b300489f0d763a64244
tree7978aecc11cd1057bb7a3e55c8538624454cc1d4
parent18e489f8f21353eb8b5019c6b53be280144613fa
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