summaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-05-30 01:39:53 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-06-03 14:05:12 -0400
commit3b8bcfd5d31ea0fec58681d035544ace707d2536 (patch)
treecdb845275acea5a367bd9f17ce07c1a5ab4f19fa /net/wireless
parentbdf6d32f933bf28dfdca325281ee5266c753dc67 (diff)
downloadlinux-3b8bcfd5d31ea0fec58681d035544ace707d2536.tar.gz
linux-3b8bcfd5d31ea0fec58681d035544ace707d2536.tar.bz2
linux-3b8bcfd5d31ea0fec58681d035544ace707d2536.zip
net: introduce pre-up netdev notifier
NETDEV_UP is called after the device is set UP, but sometimes it is useful to be able to veto the device UP. Introduce a new NETDEV_PRE_UP notifier that can be used for exactly this. The first use case will be cfg80211 denying interfaces to be set UP if the device is known to be rfkill'ed. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions