diff options
author | Javier Cardona <javier@cozybit.com> | 2011-05-03 19:57:08 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-11 14:37:47 -0400 |
commit | 0778a6a3e56cabdc322755f97ad23ee67efad0f0 (patch) | |
tree | 222900fec85fa406ce906125cdcb91036af07ac9 | |
parent | b130e5cec958bae3867cf6ab09a9b24ba8fada01 (diff) |
mac80211: Let userspace send action frames over mesh interfaces
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | net/wireless/mlme.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/wireless/mlme.c b/net/wireless/mlme.c index 16881fea4ce6..493b939970cd 100644 --- a/net/wireless/mlme.c +++ b/net/wireless/mlme.c | |||
@@ -963,6 +963,16 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev, | |||
963 | if (memcmp(mgmt->bssid, dev->dev_addr, ETH_ALEN)) | 963 | if (memcmp(mgmt->bssid, dev->dev_addr, ETH_ALEN)) |
964 | err = -EINVAL; | 964 | err = -EINVAL; |
965 | break; | 965 | break; |
966 | case NL80211_IFTYPE_MESH_POINT: | ||
967 | if (memcmp(mgmt->sa, mgmt->bssid, ETH_ALEN)) { | ||
968 | err = -EINVAL; | ||
969 | break; | ||
970 | } | ||
971 | /* | ||
972 | * check for mesh DA must be done by driver as | ||
973 | * cfg80211 doesn't track the stations | ||
974 | */ | ||
975 | break; | ||
966 | default: | 976 | default: |
967 | err = -EOPNOTSUPP; | 977 | err = -EOPNOTSUPP; |
968 | break; | 978 | break; |