nl80211: Check that netif_runnin is true in cfg80211 code
authorJouni Malinen <jouni.malinen@atheros.com>
Fri, 20 Mar 2009 19:21:18 +0000 (21:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:05 +0000 (20:13 -0400)
commit35a8efe1a67ba5d7bb7492f67f52ed2aa4925892
tree7783b27bebbc3f113a15ba0b884c24fb627c37a2
parent255e737eab645ec6037baeca04a5e0a7c3b1f459
nl80211: Check that netif_runnin is true in cfg80211 code

We do not want to require all the drivers using cfg80211 to need to do
this or to be prepared to handle these commands when the interface is
down.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/cfg.c
net/wireless/nl80211.c