summaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
authorJoão Paulo Rechi Vita <jprvita@gmail.com>2016-02-22 17:36:39 +0100
committerJohannes Berg <johannes.berg@intel.com>2016-04-05 10:48:53 +0200
commit1948b2a2ec132115b422ae1feba1a3f5598f4acd (patch)
tree91599c316608ab816cde1e505bb07dbd41ec2a0f /net/mac80211/tx.c
parentwext: unregister_pernet_subsys() on notifier registration failure (diff)
downloadlinux-1948b2a2ec132115b422ae1feba1a3f5598f4acd.tar.xz
linux-1948b2a2ec132115b422ae1feba1a3f5598f4acd.zip
rfkill: Use switch to demux userspace operations
Using a switch to handle different ev.op values in rfkill_fop_write() makes the code easier to extend, as out-of-range values can always be handled by the default case. Signed-off-by: João Paulo Rechi Vita <jprvita@endlessm.com> [roll in fix for RFKILL_OP_CHANGE from Jouni] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211/tx.c')
0 files changed, 0 insertions, 0 deletions