summaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorLuis Carlos Cobo <luisca@cozybit.com>2008-02-29 12:15:28 -0800
committerJohn W. Linville <linville@tuxdriver.com>2008-03-06 16:40:49 -0500
commit1d1b535969ca5572d87a6fcac49e1e1a31241b99 (patch)
tree94d7b74be3020cb373c370a668bd45fc7a2aad50 /net/mac80211
parent37659ff8e1d8d1f9c86bdb974d41479ccd001213 (diff)
downloadkernel-crypto-1d1b535969ca5572d87a6fcac49e1e1a31241b99.tar.gz
kernel-crypto-1d1b535969ca5572d87a6fcac49e1e1a31241b99.tar.xz
kernel-crypto-1d1b535969ca5572d87a6fcac49e1e1a31241b99.zip
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>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/ieee80211_sta.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/ieee80211_sta.c b/net/mac80211/ieee80211_sta.c
index 892b5f96a42..c9d00187e79 100644
--- a/net/mac80211/ieee80211_sta.c
+++ b/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))