]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: set authorized AP on sta_state notification
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:48 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:24 +0000 (15:45 +0200)
commit1068fb497ba6345f408a3e9da210b3ba95e3156b
tree3f66c844233ea8550b56c404d97b862185312f3f
parent3edbaa2479f52798ad08264cf10a2409792477c2
wl12xx: set authorized AP on sta_state notification

wl12xx currently looks for AP authorization by registering
a netdev notifier and waiting for the IF_OPER_UP notification,
which is quite cumbersome.

Use the newly introduced sta_state callback (waiting
for assoc -> auth notification) instead, in order to
simplify it.

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/wl12xx.h