]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: use generic check for netif_running
authorJohannes Berg <johannes.berg@intel.com>
Mon, 4 Oct 2010 19:14:05 +0000 (21:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Oct 2010 17:37:51 +0000 (13:37 -0400)
commit3d1c2de209cf1e8aed6f527f9f72fbf4b5fa1dd5
treee69d25e8af99c0df71ffaa3746ab32d3e938d641
parent727ff0e1ededb4840a0ed267241df1bd98c0861e
nl80211: use generic check for netif_running

Use a new flag that requires the netdev to be
UP and use it to check instead of coding the
check into all functions that require it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/nl80211.c