Browse Source

hostapd: Fix compiler warning

Commit 83e843e830112a810ef6a1f6c08dbe8200e47f0f copied a workaround
without updating the return value to match with the void function.
Jouni Malinen 14 years ago
parent
commit
1f4c7b6b2a
1 changed files with 1 additions and 1 deletions
  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 "
 		wpa_printf(MSG_DEBUG, "hostapd_notif_disassoc: Skip event "
 			   "with no address");
 			   "with no address");
-		return -1;
+		return;
 	}
 	}
 
 
 	hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
 	hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,