OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b130e5c
)
mac80211: Let userspace send action frames over mesh interfaces
author
Javier Cardona
<javier@cozybit.com>
Tue, 3 May 2011 23:57:08 +0000
(16:57 -0700)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 11 May 2011 18:37:47 +0000
(14:37 -0400)
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/mlme.c
patch
|
blob
|
history
diff --git
a/net/wireless/mlme.c
b/net/wireless/mlme.c
index
16881fe
..
493b939
100644
(file)
--- a/
net/wireless/mlme.c
+++ b/
net/wireless/mlme.c
@@
-963,6
+963,16
@@
int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev,
if (memcmp(mgmt->bssid, dev->dev_addr, ETH_ALEN))
err = -EINVAL;
break;
+ case NL80211_IFTYPE_MESH_POINT:
+ if (memcmp(mgmt->sa, mgmt->bssid, ETH_ALEN)) {
+ err = -EINVAL;
+ break;
+ }
+ /*
+ * check for mesh DA must be done by driver as
+ * cfg80211 doesn't track the stations
+ */
+ break;
default:
err = -EOPNOTSUPP;
break;