staging: r8188eu: clean up qos_option setting
authorMartin Kaiser <martin@kaiser.cx>
Fri, 30 Dec 2022 18:06:37 +0000 (19:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 18:31:22 +0000 (19:31 +0100)
commit3d1edfe65d3565aede6724b088cfe34f02f4002a
tree452021c134b034223da2e4c8f8fe6e819ccf405b
parenta6b25e291f22c8290203b3426b66c49099688b75
staging: r8188eu: clean up qos_option setting

The qos_option variable in function rtw_make_wlanhdr should be a boolean
as it's set to true or false. We can directly set it to
pqospriv->qos_option instead of using a default value and if statements.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20221230180646.91008-12-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c