staging: r8188eu: remove unnecessary category check
authorMartin Kaiser <martin@kaiser.cx>
Tue, 24 May 2022 09:00:18 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 05:59:47 +0000 (07:59 +0200)
commit846d846d6fc8101da1c3d7b8e2d6eb708197cb08
treebd38ede0f4f7f106a64af986292c29d22eaf3abd
parentf551dc6e7646204adf79b7a8e2db417c46b4fbe5
staging: r8188eu: remove unnecessary category check

Remove the unnecessary category check in issue_action_BA. category is
initialised to 3 (WLAN_CATEGORY_BACK) and never updated.

The rtw_set_fixed_ie call gets a pointer to category but it doesn't update
the value.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220524090029.242584-2-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c