OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37659ff
)
mac80211: fix incorrect parenthesis
author
Luis Carlos Cobo
<luisca@cozybit.com>
Fri, 29 Feb 2008 20:15:28 +0000
(12:15 -0800)
committer
John W. Linville
<linville@tuxdriver.com>
Thu, 6 Mar 2008 21:40:49 +0000
(16:40 -0500)
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>
net/mac80211/ieee80211_sta.c
patch
|
blob
|
history
diff --git
a/net/mac80211/ieee80211_sta.c
b/net/mac80211/ieee80211_sta.c
index
892b5f9
..
c9d0018
100644
(file)
--- 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))