projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f885b8e
)
WNM: Use NULL instead of 0 as the pointer return value
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Thu, 23 Jun 2016 10:11:01 +0000
(13:11 +0300)
committer
Jouni Malinen
<j@w1.fi>
Thu, 23 Jun 2016 10:11:01 +0000
(13:11 +0300)
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wnm_sta.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/wnm_sta.c
b/wpa_supplicant/wnm_sta.c
index
520b009
..
7674825
100644
(file)
--- 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);