summaryrefslogtreecommitdiff
path: root/net/wireless/reg.c
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-01 15:31:22 -0400
commit7aa8eb99f749e7fa7557dd32c6374c4676d01c12 (patch)
tree06591ec4063be33728201faad538076e39c9ce80 /net/wireless/reg.c
parentda73095a91075d988177bf2be7ec68bc890e588e (diff)
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/reg.c')
0 files changed, 0 insertions, 0 deletions