mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
mac80211: remove useless brackets in ieee80211_cfg_on_oper_channel
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Reviewed-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5e5202a406
commit
0b62ffb53c
@ -126,8 +126,8 @@ bool ieee80211_cfg_on_oper_channel(struct ieee80211_local *local)
|
||||
return false;
|
||||
|
||||
/* Check current hardware-config against oper_channel. */
|
||||
if ((local->oper_channel != local->hw.conf.channel) ||
|
||||
(local->_oper_channel_type != local->hw.conf.channel_type))
|
||||
if (local->oper_channel != local->hw.conf.channel ||
|
||||
local->_oper_channel_type != local->hw.conf.channel_type)
|
||||
return false;
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user