Skip to content

Commit

Permalink
brcmsmac: remove duplicated bit-wise or of IEEE80211_CHAN_NO_IR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and Kalle Valo committed Feb 27, 2018
1 parent 64d1519 commit 47c8a39
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/wireless/broadcom/brcm80211/brcmsmac/channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 47c8a39

Please sign in to comment.