summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-02-23 13:36:22 +0000
committerKalle Valo <kvalo@codeaurora.org>2018-02-27 18:25:12 +0200
commit47c8a3956a60b2f47389420b1814ad07e4306cea (patch)
treec5dd54a2d82148f1b17f633f34267e26ca296d87
parent64d1519edc959f5b8f86a66a51c40971c215e4ec (diff)
downloadlinux-47c8a3956a60b2f47389420b1814ad07e4306cea.tar.gz
linux-47c8a3956a60b2f47389420b1814ad07e4306cea.tar.bz2
linux-47c8a3956a60b2f47389420b1814ad07e4306cea.zip
brcmsmac: remove duplicated bit-wise or of IEEE80211_CHAN_NO_IR
Bit pattern IEEE80211_CHAN_NO_IR is being bit-wise or'd twice; remove the redundant 2nd IEEE80211_CHAN_NO_IR Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
-rw-r--r--drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c
index 3a03287fa912..db783e94f929 100644
--- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c
@@ -652,7 +652,6 @@ static void brcms_reg_apply_radar_flags(struct wiphy *wiphy)
*/
if (!(ch->flags & IEEE80211_CHAN_DISABLED))
ch->flags |= IEEE80211_CHAN_RADAR |
- IEEE80211_CHAN_NO_IR |
IEEE80211_CHAN_NO_IR;
}
}