diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-02-27 17:41:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-03-01 22:34:15 +0100 |
commit | 1c167e3b8304b0b9ec39a48d26c645185456aa93 (patch) | |
tree | 9cbb23fc6c9d28da8c8699a108cc5ad46f3b3bd2 /drivers/staging/r8188eu/include/rtw_recv.h | |
parent | aacd0400c7f3eccfba3df30d80f194abe1aa4111 (diff) | |
download | linux-1c167e3b8304b0b9ec39a48d26c645185456aa93.tar.bz2 |
staging: r8188eu: use ieee80211 helper for qos bit
Use the ieee80211_is_data_qos helper function to read the qos bit.
This helper function returns a bool. Change the qos field in struct
rx_pkt_attrib from u8 to bool and fix up the other places where it
is used.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220227164147.1168847-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/include/rtw_recv.h')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_recv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_recv.h b/drivers/staging/r8188eu/include/rtw_recv.h index 6a6f6373467b..d2f1c71f2262 100644 --- a/drivers/staging/r8188eu/include/rtw_recv.h +++ b/drivers/staging/r8188eu/include/rtw_recv.h @@ -82,7 +82,7 @@ struct rx_pkt_attrib { u8 hdrlen; /* the WLAN Header Len */ u8 to_fr_ds; u8 amsdu; - u8 qos; + bool qos; u8 priority; u8 pw_save; u8 mdata; |