staging: r8188eu: use mgmt to set the addba resp timeout
authorMartin Kaiser <martin@kaiser.cx>
Thu, 2 Jun 2022 19:37:18 +0000 (21:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 06:08:35 +0000 (08:08 +0200)
commit140529aec4687a7865c315e70988896d377b0fce
tree15f6954384c286aaebfa0fea47947486ed7275e8
parente2643fd46cc34a26a8d9eab76d179d5416e03344
staging: r8188eu: use mgmt to set the addba resp timeout

Use the mgmt struct to set the addba response timeout. Copy the timeout
from the saved addba request. The timeout field is already le16, we don't
have to convert the endianness.

Tested-by: Pavel Skripkin <paskripkin@gmail.com>
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220602193726.280922-4-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_mlme_ext.c