Thread (1 message) 1 message, 1 author, 2020-12-22

Re: [PATCH v3 18/24] wfx: add data_tx.c/data_tx.h

From: Kalle Valo <hidden>
Date: 2020-12-22 15:29:00
Also in: linux-devicetree, linux-mmc, linux-wireless, lkml

Jerome Pouiller [off-list ref] writes:
+static bool ieee80211_is_action_back(struct ieee80211_hdr *hdr)
+{
+	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr;
+
+	if (!ieee80211_is_action(mgmt->frame_control))
+		return false;
+	if (mgmt->u.action.category != WLAN_CATEGORY_BACK)
+		return false;
+	return true;
+}
Don't use ieee80211_ prefix within a driver, it's reserved for mac80211.
Use wfx_ instead.

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help