diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-10-25 06:46:44 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-11-25 14:50:36 -0500 |
commit | 0f0094b3c7b8fef51f1ea6a0abc08b99d1444506 (patch) | |
tree | d612eb1119354822104cc94c9f0739f79627458f /net | |
parent | b3f51e941bdd559775c80c137c355ce71efb49d7 (diff) |
cfg80211: add missing break in cfg80211_get_chan_state()
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>
Diffstat (limited to 'net')
-rw-r--r-- | net/wireless/chan.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/wireless/chan.c b/net/wireless/chan.c index 96c97800e247..3b6daf8b47d9 100644 --- a/net/wireless/chan.c +++ b/net/wireless/chan.c | |||
@@ -599,6 +599,7 @@ cfg80211_get_chan_state(struct wireless_dev *wdev, | |||
599 | : CHAN_MODE_EXCLUSIVE; | 599 | : CHAN_MODE_EXCLUSIVE; |
600 | return; | 600 | return; |
601 | } | 601 | } |
602 | break; | ||
602 | case NL80211_IFTYPE_STATION: | 603 | case NL80211_IFTYPE_STATION: |
603 | case NL80211_IFTYPE_P2P_CLIENT: | 604 | case NL80211_IFTYPE_P2P_CLIENT: |
604 | if (wdev->current_bss) { | 605 | if (wdev->current_bss) { |