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>
This commit is contained in:
parent
b130e5cec9
commit
0778a6a3e5
1 changed files with 10 additions and 0 deletions
|
@ -963,6 +963,16 @@ int cfg80211_mlme_mgmt_tx(struct cfg80211_registered_device *rdev,
|
||||||
if (memcmp(mgmt->bssid, dev->dev_addr, ETH_ALEN))
|
if (memcmp(mgmt->bssid, dev->dev_addr, ETH_ALEN))
|
||||||
err = -EINVAL;
|
err = -EINVAL;
|
||||||
break;
|
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:
|
default:
|
||||||
err = -EOPNOTSUPP;
|
err = -EOPNOTSUPP;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Reference in a new issue