Parcourir la source

hostapd: Fix compiler warning

Commit 83e843e830112a810ef6a1f6c08dbe8200e47f0f copied a workaround
without updating the return value to match with the void function.
Jouni Malinen il y a 14 ans
Parent
commit
1f4c7b6b2a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/ap/drv_callbacks.c

+ 1 - 1
src/ap/drv_callbacks.c

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