diff options
author | Martin Kaiser <martin@kaiser.cx> | 2022-05-14 18:47:36 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-05-19 17:41:56 +0200 |
commit | d4170582c8b0e4f9c68a6caf5decc77424ef844b (patch) | |
tree | 7bc2e3596b25b598da9c843ba6c9021cabee8861 /drivers/staging/r8188eu/include/rtw_mlme_ext.h | |
parent | staging: r8188eu: read addba resp tid from ieee80211_mgmt (diff) | |
download | linux-dev-d4170582c8b0e4f9c68a6caf5decc77424ef844b.tar.xz linux-dev-d4170582c8b0e4f9c68a6caf5decc77424ef844b.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/staging/r8188eu/include/rtw_mlme_ext.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/r8188eu/include/rtw_mlme_ext.h b/drivers/staging/r8188eu/include/rtw_mlme_ext.h index 888b12a9f755..573d65b175cc 100644 --- a/drivers/staging/r8188eu/include/rtw_mlme_ext.h +++ b/drivers/staging/r8188eu/include/rtw_mlme_ext.h @@ -592,8 +592,6 @@ void addba_timer_hdl(struct sta_info *psta); bool cckrates_included(unsigned char *rate, int ratelen); bool cckratesonly_included(unsigned char *rate, int ratelen); -void process_addba_req(struct adapter *padapter, u8 *paddba_req, u8 *addr); - void update_TSF(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len); void correct_TSF(struct adapter *padapter, struct mlme_ext_priv *pmlmeext); |