diff options
-rw-r--r-- | net/wireless/chan.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index c8d190d911e4..17cd0c04d139 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c | |||
@@ -54,8 +54,10 @@ static bool can_beacon_sec_chan(struct wiphy *wiphy, | |||
54 | switch (channel_type) { | 54 | switch (channel_type) { |
55 | case NL80211_CHAN_HT40PLUS: | 55 | case NL80211_CHAN_HT40PLUS: |
56 | diff = 20; | 56 | diff = 20; |
57 | break; | ||
57 | case NL80211_CHAN_HT40MINUS: | 58 | case NL80211_CHAN_HT40MINUS: |
58 | diff = -20; | 59 | diff = -20; |
60 | break; | ||
59 | default: | 61 | default: |
60 | return false; | 62 | return false; |
61 | } | 63 | } |