staging: r8188eu: fix rtw_xmitframe_enqueue error handling
authorMartin Kaiser <martin@kaiser.cx>
Mon, 23 Jan 2023 20:53:38 +0000 (21:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jan 2023 09:10:37 +0000 (10:10 +0100)
commit9c07d8cc8837486a9e619154ffa5d391894f8715
tree00efa1ce7aa509f84a902850d3735c6c08015d6e
parente558c192787ed698c48ec2ae6a56e95eb4084cfd
staging: r8188eu: fix rtw_xmitframe_enqueue error handling

In function rtw_xmitframe_enqueue, we can simply relay the error code from
rtw_xmit_classifier.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150
Link: https://lore.kernel.org/r/20230123205342.229589-20-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c