commit | e9980e6d20a5c4d3f52359142ab3569171759a5b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Mon Jan 09 13:57:36 2012 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jan 24 14:08:39 2012 -0500 |
tree | d117e03b078a089a6554ebe8c28f1e4c545102f8 | |
parent | 75ac9a28a0c6b818ba1aba874b6b3ae17241552c [diff] |
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>