]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: merge process_addba_req into OnAction_back
authorMartin Kaiser <martin@kaiser.cx>
Sat, 14 May 2022 16:47:36 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:41:56 +0000 (17:41 +0200)
commit4fcc8240d89099acbb55b006b070c50e05730663
tree7bc2e3596b25b598da9c843ba6c9021cabee8861
parentfebb474bc369ef72ba431754f8a782708c206986
staging: r8188eu: merge process_addba_req into OnAction_back

The process_addba_req function is called only by OnAction_back. Merge the
two functions.

OnAction_back has already checked that psta != NULL, we can drop the check
in process_addba_req before merging the functions. We can also simplify
the parsing of the tid by using struct ieee80211.

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