Browse Source

mac80211: fix incorrect parenthesis

Pointed out by Johannes Berg.

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Luis Carlos Cobo 17 years ago
parent
commit
1d1b535969
1 changed files with 2 additions and 2 deletions
  1. 2 2
      net/mac80211/ieee80211_sta.c

+ 2 - 2
net/mac80211/ieee80211_sta.c

@@ -3878,8 +3878,8 @@ ieee80211_sta_scan_result(struct net_device *dev,
 						  bss->ssid);
 	}
 
-	if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS
-	    || bss_mesh_cfg(bss))) {
+	if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)
+	    || bss_mesh_cfg(bss)) {
 		memset(&iwe, 0, sizeof(iwe));
 		iwe.cmd = SIOCGIWMODE;
 		if (bss_mesh_cfg(bss))