]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Update 11d info only when interface is active
authorDaniel Drake <dsd@laptop.org>
Sun, 15 Jul 2012 22:44:58 +0000 (23:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:36 +0000 (15:11 -0400)
commit2540180ff88de8f0c28c94d8ddff155b2366ac52
tree76e653b348d665145c37bd5e6943396b28f6aa25
parent6d51c87eadfefb42f9b2d3622ab0a7b8c02db0fc
libertas: Update 11d info only when interface is active

reg_notifier can be called before the interface is up.
Handle this correctly by storing the requested country code, then
apply the relevant configuration when the interface is brought up.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/cfg.c
drivers/net/wireless/libertas/cmd.c
drivers/net/wireless/libertas/cmd.h
drivers/net/wireless/libertas/dev.h
drivers/net/wireless/libertas/main.c