]> git.baikalelectronics.ru Git - kernel.git/commit
staging: r8188eu: check for initiator vs recipient
authorMartin Kaiser <martin@kaiser.cx>
Sat, 14 May 2022 16:47:39 +0000 (18:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 15:41:56 +0000 (17:41 +0200)
commit07d5ed9408d512725fc47fe46dae332a8cb1baf7
tree8af1130aed0bd21b76b1210ab3d6771ec5c5e693
parent6ca247342576a2a0f34ae07a57fde162d8843053
staging: r8188eu: check for initiator vs recipient

For an incoming delba message, the code checks if the delba was sent by
the data initiator or by the data recipient.

Rewrite this check using the ieee80211 helpers, making the code easier to
understand.

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