projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f51e9
)
cfg80211: add missing break in cfg80211_get_chan_state()
author
Johannes Berg
<johannes.berg@intel.com>
Fri, 25 Oct 2013 10:46:44 +0000
(12:46 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:36 +0000
(20:50 +0100)
Improve readability of the function by adding the break,
there's no functional impact but it's confusing to fall
through.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c
patch
|
blob
|
blame
|
history
diff --git
a/net/wireless/chan.c
b/net/wireless/chan.c
index 96c97800e247e3660a19bbcead5cfeee503da5ae..3b6daf8b47d92d20043b6146a1b008e8e521c25e 100644
(file)
--- a/
net/wireless/chan.c
+++ b/
net/wireless/chan.c
@@
-599,6
+599,7
@@
cfg80211_get_chan_state(struct wireless_dev *wdev,
: CHAN_MODE_EXCLUSIVE;
return;
}
+ break;
case NL80211_IFTYPE_STATION:
case NL80211_IFTYPE_P2P_CLIENT:
if (wdev->current_bss) {