Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d1b5359 authored by Luis Carlos Cobo's avatar Luis Carlos Cobo Committed by John W. Linville
Browse files

mac80211: fix incorrect parenthesis



Pointed out by Johannes Berg.

Signed-off-by: default avatarLuis Carlos Cobo <luisca@cozybit.com>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 37659ff8
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3878,8 +3878,8 @@ ieee80211_sta_scan_result(struct net_device *dev,
						  bss->ssid);
						  bss->ssid);
	}
	}


	if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS
	if (bss->capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS)
	    || bss_mesh_cfg(bss))) {
	    || bss_mesh_cfg(bss)) {
		memset(&iwe, 0, sizeof(iwe));
		memset(&iwe, 0, sizeof(iwe));
		iwe.cmd = SIOCGIWMODE;
		iwe.cmd = SIOCGIWMODE;
		if (bss_mesh_cfg(bss))
		if (bss_mesh_cfg(bss))