aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorJeff Chen <jeff.chen_1@nxp.com>2026-08-31 17:43:08 +0800
committerJeff Chen <jeff.chen_1@nxp.com>2026-10-05 21:52:25 +0800
commitdf40d3645443e884897b5b95873f9871bb44b7e5 (patch)
treee64b3b3dae5b3af7f07c4e9441ae65f389344240 /scripts/Makefile.thinlto
parentwifi: nxpwifi: fix return value check in change_vif_to_sta/ap (diff)
wifi: nxpwifi: fix missing error codes in _nxpwifi_fw_dpc()
When nxpwifi_register_cfg80211(), nxpwifi_init_channel_scan_gap(), or nxpwifi_add_virtual_intf() fail, the function jumped to an error label but left ret == 0, causing _nxpwifi_fw_dpc() to return success despite the failure. Fix by propagating the return value of nxpwifi_register_cfg80211() and nxpwifi_init_channel_scan_gap() directly into ret, and by extracting the encoded error from the ERR_PTR wdev with PTR_ERR() before each goto err_add_intf. The P2P client interface path had the same IS_ERR/goto pattern and is fixed in the same way. Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x") Reported-by: Dan Carpenter <error27@gmail.com> Closes: https://lore.kernel.org/linux-wireless/anwshVbQWXXHTJpa@stanley.mountain/ Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions