]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: wlcore: pass "status" to wlcore_hw_convert_fw_status()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tue, 28 May 2024 09:17:57 +0000 (10:17 +0100)
committerKalle Valo <kvalo@kernel.org>
Tue, 18 Jun 2024 10:22:11 +0000 (13:22 +0300)
commitdd265a7415f8b99fa9b4b055f1ad1015c1e6f250
treef6b0e6746584232239bd6e2dbd470fe2624ed017
parent97715e29cebc898a214558475331ea6a10c0f8d1
wifi: wlcore: pass "status" to wlcore_hw_convert_fw_status()

wlcore_fw_status() is passed a pointer to the struct wl_fw_status to
decode the status into, which is always wl->fw_status. Rather than
referencing wl->fw_status within wlcore_fw_status(), use the supplied
argument so that we access this member in a consistent manner.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/E1sBsxx-00E8vi-Gf@rmk-PC.armlinux.org.uk
drivers/net/wireless/ti/wlcore/main.c