Commit 83e843e830112a810ef6a1f6c08dbe8200e47f0f copied a workaround without updating the return value to match with the void function.
@@ -205,7 +205,7 @@ void hostapd_notif_disassoc(struct hostapd_data *hapd, const u8 *addr)
*/
wpa_printf(MSG_DEBUG, "hostapd_notif_disassoc: Skip event "
"with no address");
- return -1;
+ return;
}
hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,