]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: nl80211: fix nl80211_start_radar_detection return value
authorNicolas Escande <nico.escande@gmail.com>
Thu, 9 Jan 2025 16:10:40 +0000 (17:10 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 13 Jan 2025 14:34:08 +0000 (15:34 +0100)
commit22159143ff99883667f340998cfbb52b4aaac14c
tree279e0795e8240f218b991792908524b996ecefc6
parent9add053591ed9d126b6f071236e33e762c439fa8
wifi: nl80211: fix nl80211_start_radar_detection return value

Since the wiphy_guard changes, rdev_start_radar_detection's return value
in nl80211_start_radar_detection is ignored and we always returned 0.

Fixes: f42d22d3f796 ("wifi: cfg80211: define and use wiphy guard")
Signed-off-by: Nicolas Escande <nico.escande@gmail.com>
Link: https://patch.msgid.link/20250109161040.325742-1-nico.escande@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c