projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecd5a32
)
cfg80211: fix missing break in NL8211_CHAN_WIDTH_80P80 case
author
Colin Ian King
<
[email protected]
>
Sun, 17 Jul 2016 18:55:27 +0000
(19:55 +0100)
committer
Johannes Berg
<
[email protected]
>
Tue, 2 Aug 2016 07:50:25 +0000
(09:50 +0200)
The switch on chandef->width is missing a break on the
NL8211_CHAN_WIDTH_80P80 case; currently we get a WARN_ON when
center_freq2 is non-zero because of the missing break.
Signed-off-by: Colin Ian King <
[email protected]
>
Signed-off-by: Johannes Berg <
[email protected]
>
net/wireless/chan.c
patch
|
blob
|
history
diff --git
a/net/wireless/chan.c
b/net/wireless/chan.c
index da49c0b1fd32e211586b2e552cdc291dc26e215f..bb3d64ee68aaa90b97810ae97b34ef5c28098352 100644
(file)
--- a/
net/wireless/chan.c
+++ b/
net/wireless/chan.c
@@
-513,6
+513,7
@@
static bool cfg80211_chandef_dfs_available(struct wiphy *wiphy,
r = cfg80211_get_chans_dfs_available(wiphy,
chandef->center_freq2,
width);
+ break;
default:
WARN_ON(chandef->center_freq2);
break;