mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 16:53:54 +08:00
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
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user