diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-11-03 09:40:46 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-09 21:01:01 (GMT) |
commit | 0b62ffb53c9732e02ec77ae795f1e03cb2f2d406 (patch) | |
tree | c7e4c59f0811c4849704bf41b4916410a2407228 | |
parent | 5e5202a406896fb6d656d0e7d3f2f1cbfdda6384 (diff) | |
download | linux-fsl-qoriq-0b62ffb53c9732e02ec77ae795f1e03cb2f2d406.tar.xz |
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>
-rw-r--r-- | net/mac80211/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 094fd57..7217019 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -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; |