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
1 changed files with 1 additions and 1 deletions
|
@ -508,7 +508,7 @@ compare_scan_neighbor_results(struct wpa_supplicant *wpa_s, os_time_t age_secs)
|
||||||
struct wpa_bss *target;
|
struct wpa_bss *target;
|
||||||
|
|
||||||
if (!bss)
|
if (!bss)
|
||||||
return 0;
|
return NULL;
|
||||||
|
|
||||||
wpa_printf(MSG_DEBUG, "WNM: Current BSS " MACSTR " RSSI %d",
|
wpa_printf(MSG_DEBUG, "WNM: Current BSS " MACSTR " RSSI %d",
|
||||||
MAC2STR(wpa_s->bssid), bss->level);
|
MAC2STR(wpa_s->bssid), bss->level);
|
||||||
|
|
Loading…
Reference in a new issue