]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add ieee80211_get_operstate() function
authorEliad Peller <eliad@wizery.com>
Mon, 6 Jun 2011 09:59:29 +0000 (12:59 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jun 2011 18:26:50 +0000 (14:26 -0400)
commit5fc7655cb883e31d597d3fdd1b1437e588db8403
tree67c36ad1c6c3250b543c8b68c57ac41e90c1e5f3
parentb17b2c4b6a29f2844231e044d4bc40f40ae93082
mac80211: add ieee80211_get_operstate() function

Add ieee80211_get_operstate() function to get the operstate
of the netdevice.

This is needed for drivers that need to know when the interface
is IF_OPER_UP (e.g. wl12xx), and block notifiers can't be used
(e.g. because the interface is already IF_OPER_UP, like after
resuming from suspend)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/mlme.c