mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
WNM: Use NULL instead of 0 as the pointer return value
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
f885b8e97c
commit
9e080bf343
@ -508,7 +508,7 @@ compare_scan_neighbor_results(struct wpa_supplicant *wpa_s, os_time_t age_secs)
|
||||
struct wpa_bss *target;
|
||||
|
||||
if (!bss)
|
||||
return 0;
|
||||
return NULL;
|
||||
|
||||
wpa_printf(MSG_DEBUG, "WNM: Current BSS " MACSTR " RSSI %d",
|
||||
MAC2STR(wpa_s->bssid), bss->level);
|
||||
|
Loading…
Reference in New Issue
Block a user