Commit 0f0094b3 authored by Johannes Berg's avatar Johannes Berg

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: default avatarJohannes Berg <johannes.berg@intel.com>
parent b3f51e94
...@@ -599,6 +599,7 @@ cfg80211_get_chan_state(struct wireless_dev *wdev, ...@@ -599,6 +599,7 @@ cfg80211_get_chan_state(struct wireless_dev *wdev,
: CHAN_MODE_EXCLUSIVE; : CHAN_MODE_EXCLUSIVE;
return; return;
} }
break;
case NL80211_IFTYPE_STATION: case NL80211_IFTYPE_STATION:
case NL80211_IFTYPE_P2P_CLIENT: case NL80211_IFTYPE_P2P_CLIENT:
if (wdev->current_bss) { if (wdev->current_bss) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment