Skip to content
Snippets Groups Projects
Commit 0b06b2ae authored by Harvey Harrison's avatar Harvey Harrison Committed by John W. Linville
Browse files

mac80211: fix sparse integer as NULL pointer warning


drivers/net/wireless/mac80211_hwsim.c:503:20: warning: Using plain integer as NULL pointer

Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 03121104
No related branches found
No related tags found
No related merge requests found
......@@ -500,7 +500,7 @@ failed_hw:
device_unregister(data->dev);
failed_drvdata:
ieee80211_free_hw(hw);
hwsim_radios[i] = 0;
hwsim_radios[i] = NULL;
failed:
mac80211_hwsim_free();
return err;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment