Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mac80211: fix confusing parentheses

There's an extra pair of parentheses here that
is simply confusing because it implies a nesting
that doesn't actually exist. Just remove it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Johannes Berg and committed by
John W. Linville
ef5af747 5a5ee76e

+1 -1
+1 -1
net/mac80211/cfg.c
··· 1394 1394 (old_oper_type != local->_oper_channel_type)) 1395 1395 ieee80211_hw_config(local, IEEE80211_CONF_CHANGE_CHANNEL); 1396 1396 1397 - if ((sdata && sdata->vif.type != NL80211_IFTYPE_MONITOR) && 1397 + if (sdata && sdata->vif.type != NL80211_IFTYPE_MONITOR && 1398 1398 old_vif_oper_type != sdata->vif.bss_conf.channel_type) 1399 1399 ieee80211_bss_info_change_notify(sdata, BSS_CHANGED_HT); 1400 1400