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:
dac211e
)
mac80211: allow channel change while mesh is down
author
Thomas Pedersen
<thomas@cozybit.com>
Mon, 14 May 2012 05:24:08 +0000
(22:24 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Tue, 5 Jun 2012 19:21:47 +0000
(15:21 -0400)
Allow channel change on a mesh interface if the interface is up and no
mesh is started.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/chan.c
patch
|
blob
|
history
diff --git
a/net/mac80211/chan.c
b/net/mac80211/chan.c
index
c76cf72
..
f0f87e5
100644
(file)
--- a/
net/mac80211/chan.c
+++ b/
net/mac80211/chan.c
@@
-41,6
+41,10
@@
__ieee80211_get_channel_mode(struct ieee80211_local *local,
if (!sdata->u.ap.beacon)
continue;
break;
+ case NL80211_IFTYPE_MESH_POINT:
+ if (!sdata->wdev.mesh_id_len)
+ continue;
+ break;
default:
break;
}