From: Jouni Malinen Date: Thu, 23 Jun 2016 10:11:01 +0000 (+0300) Subject: WNM: Use NULL instead of 0 as the pointer return value X-Git-Tag: hostap_2_6~359 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e080bf3435b7d01aa64f2a860a67049c24e3852;p=thirdparty%2Fhostap.git WNM: Use NULL instead of 0 as the pointer return value Signed-off-by: Jouni Malinen --- diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c index 520b0095e..7674825e6 100644 --- a/wpa_supplicant/wnm_sta.c +++ b/wpa_supplicant/wnm_sta.c @@ -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);