hostapd: Fix compiler warning

Commit 83e843e830 copied a workaround
without updating the return value to match with the void function.
This commit is contained in:
Jouni Malinen 2010-10-25 13:38:06 +03:00 committed by Jouni Malinen
parent 83e843e830
commit 1f4c7b6b2a

View File

@ -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,