staging: r8188eu: use mgmt to set the delba reason code
authorMartin Kaiser <martin@kaiser.cx>
Thu, 2 Jun 2022 19:37:21 +0000 (21:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 06:08:35 +0000 (08:08 +0200)
commitc5727d76ca0cf84d1d8b4fd7bb28920a4d440c11
tree91c5dd5bb9e8c84d3a4dd9be240294aafd549722
parentc67eea0c34101ba199e500c825edf0a080cdfd45
staging: r8188eu: use mgmt to set the delba reason code

Use the mgmt struct to set the delba reason code.

Replace the numeric value with a define and remove the temporary variable.

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