Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0778a6a3 authored by Javier Cardona's avatar Javier Cardona Committed by John W. Linville
Browse files

mac80211: Let userspace send action frames over mesh interfaces

parent b130e5ce
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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;