ath9k: Make start/stop operations aware of virtual wiphys
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:33 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:46 +0000 (14:39 -0500)
commit9580a222b8a371c145d7439c1a289b9e77f8fe31
tree6dd8ba41fe920e029c107bf249b9bb7ff89b03cd
parent0e2dedf971f3feefd4d3d3d8cb5c57b1757f1101
ath9k: Make start/stop operations aware of virtual wiphys

Instead of always going through initialization/deinitialization steps,
do this only for the first/last wiphy to not break the other wiphys.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/virtual.c