aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wnm_sta.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-23 10:11:01 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-23 10:11:01 (GMT)
commit9e080bf3435b7d01aa64f2a860a67049c24e3852 (patch)
tree9dc48d4308c479a477513ee0ba8ef6824505e122 /wpa_supplicant/wnm_sta.c
parentf885b8e97cf39b56fe7ca6577890f2d20df7ae08 (diff)
downloadhostap-9e080bf3435b7d01aa64f2a860a67049c24e3852.zip
hostap-9e080bf3435b7d01aa64f2a860a67049c24e3852.tar.gz
hostap-9e080bf3435b7d01aa64f2a860a67049c24e3852.tar.bz2
WNM: Use NULL instead of 0 as the pointer return value
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wnm_sta.c')
-rw-r--r--wpa_supplicant/wnm_sta.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wnm_sta.c b/wpa_supplicant/wnm_sta.c
index 520b009..7674825 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);