You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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:
committed by
John W. Linville
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))
|
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;
|
||||||
|
|||||||
Reference in New Issue
Block a user