From: Johannes Berg Date: Mon, 9 Jan 2012 12:57:36 +0000 (+0100) Subject: mac80211: refactor __ieee80211_get_channel_mode X-Git-Tag: v3.4-rc1~177^2~376^2^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9980e6d20a5c4d3f52359142ab3569171759a5b;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed