aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/wireless/nl80211.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index 8f46b8ffbcf6..c10295138eb5 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -6013,17 +6013,6 @@ skip_beacons:
6013 params.radar_required = true; 6013 params.radar_required = true;
6014 } 6014 }
6015 6015
6016 /* TODO: I left this here for now. With channel switch, the
6017 * verification is a bit more complicated, because we only do
6018 * it later when the channel switch really happens.
6019 */
6020 err = cfg80211_can_use_iftype_chan(rdev, wdev, wdev->iftype,
6021 params.chandef.chan,
6022 CHAN_MODE_SHARED,
6023 radar_detect_width);
6024 if (err)
6025 return err;
6026
6027 if (info->attrs[NL80211_ATTR_CH_SWITCH_BLOCK_TX]) 6016 if (info->attrs[NL80211_ATTR_CH_SWITCH_BLOCK_TX])
6028 params.block_tx = true; 6017 params.block_tx = true;
6029 6018