]> git.ipfire.org Git - thirdparty/linux.git/commit
staging: rtl8723bs: propagate errno through hal xmit path
authorHungyu Lin <dennylin0707@gmail.com>
Thu, 14 May 2026 10:07:08 +0000 (10:07 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 May 2026 10:39:51 +0000 (12:39 +0200)
commitbfe73cfa779f55ce5fe1899133cf6ca86720a86a
treeaf9f78b94838d67653f96653273fbbcd7b8eb566
parent37dca26788f7523375f53506abd8e1ae4a117dd4
staging: rtl8723bs: propagate errno through hal xmit path

Propagate errno values from rtl8723bs_hal_xmitframe_enqueue()
through rtw_hal_xmitframe_enqueue() by returning the error code
directly.

Update rtw_hal_xmit() to explicitly map the boolean return
value of rtl8723bs_hal_xmit() to _SUCCESS/_FAIL, clarifying
the return semantics at the HAL boundary.

None of the callers of rtw_hal_xmitframe_enqueue() check the
return value, so they do not need to be updated. This change
does not affect runtime behavior.

Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
Link: https://patch.msgid.link/20260514100708.25031-6-dennylin0707@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/hal/hal_intf.c
drivers/staging/rtl8723bs/hal/rtl8723bs_xmit.c
drivers/staging/rtl8723bs/include/hal_intf.h