summaryrefslogtreecommitdiffstats
path: root/net/mac80211/ibss.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-01-09 13:57:36 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-01-24 14:08:39 -0500
commite9980e6d20a5c4d3f52359142ab3569171759a5b (patch)
treed117e03b078a089a6554ebe8c28f1e4c545102f8 /net/mac80211/ibss.c
parent75ac9a28a0c6b818ba1aba874b6b3ae17241552c (diff)
downloadblackbird-op-linux-e9980e6d20a5c4d3f52359142ab3569171759a5b.tar.gz
blackbird-op-linux-e9980e6d20a5c4d3f52359142ab3569171759a5b.zip
mac80211: refactor __ieee80211_get_channel_mode
Use a switch statement instead of a list of if statements. Also include AP_VLAN in the list and skip them since the AP interface will also be looked at. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/ibss.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud