提交 0b62ffb5 编写于 作者: S Stanislaw Gruszka 提交者: John W. Linville

mac80211: remove useless brackets in ieee80211_cfg_on_oper_channel

Signed-off-by: NStanislaw Gruszka <sgruszka@redhat.com>
Reviewed-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 5e5202a4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册