staging: r8188eu: use mgmt to set the action codes
authorMartin Kaiser <martin@kaiser.cx>
Tue, 24 May 2022 09:00:24 +0000 (11:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Jun 2022 05:59:47 +0000 (07:59 +0200)
commita248ccf6048dd299cb78d596c8bbc4d3b3957efa
treeae58c2f6ef0eeba75b09adc922e24fe31d492e2d
parent8d1aeb172da21fe8184674ba4efed39327b2284b
staging: r8188eu: use mgmt to set the action codes

Use the mgmt structure in issue_action_BA to set the action codes.
We have to distinguish between the different message types.

We also have to increment the packet length manually as we're no longer
calling rtw_set_fixed_ie, which increments the length.

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