summaryrefslogtreecommitdiffstats
path: root/drivers/staging/r8188eu/include/wifi.h
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-02-27 17:41:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-03-01 22:34:16 +0100
commit095f746502740d76a086ab127e11b3c4dba78141 (patch)
tree6cf0c96528c641512ca2589ff955feddbd33d3af /drivers/staging/r8188eu/include/wifi.h
parent0beae891d3bae1161eaa2e48de4d68c0d5166afe (diff)
downloadlinux-095f746502740d76a086ab127e11b3c4dba78141.tar.bz2
staging: r8188eu: use ieee80211 helper to read the "order" bit
Use the ieee80211 helper to read the "order" bit. The driver-specific macro GetOrder can be removed. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220227164147.1168847-9-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/wifi.h')
-rw-r--r--drivers/staging/r8188eu/include/wifi.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/r8188eu/include/wifi.h b/drivers/staging/r8188eu/include/wifi.h
index 336c32470150..39b7a596e4c1 100644
--- a/drivers/staging/r8188eu/include/wifi.h
+++ b/drivers/staging/r8188eu/include/wifi.h
@@ -217,9 +217,6 @@ enum WIFI_REG_DOMAIN {
#define ClearPrivacy(pbuf) \
*(__le16 *)(pbuf) &= (~cpu_to_le16(_PRIVACY_))
-#define GetOrder(pbuf) \
- (((*(__le16 *)(pbuf)) & cpu_to_le16(_ORDER_)) != 0)
-
#define GetFrameType(pbuf) \
(le16_to_cpu(*(__le16 *)(pbuf)) & (BIT(3) | BIT(2)))