staging: r8188eu: use ieee80211 helper for qos bit
authorMartin Kaiser <martin@kaiser.cx>
Sun, 27 Feb 2022 16:41:43 +0000 (17:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Mar 2022 21:34:15 +0000 (22:34 +0100)
commit1c167e3b8304b0b9ec39a48d26c645185456aa93
tree9cbb23fc6c9d28da8c8699a108cc5ad46f3b3bd2
parentaacd0400c7f3eccfba3df30d80f194abe1aa4111
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>
drivers/staging/r8188eu/core/rtw_recv.c
drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c
drivers/staging/r8188eu/include/rtw_recv.h