aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-06-23 10:14:17 (GMT)
committerJouni Malinen <j@w1.fi>2016-06-23 10:14:17 (GMT)
commit468b7b12a6e0edd41f288ad326d38a70d1126a68 (patch)
tree32ccbbf6374e27611181611b222e47ec5415a9ed /src
parent0558bec1fd5a059adc1a5ba9486619a3f6f24b42 (diff)
downloadhostap-468b7b12a6e0edd41f288ad326d38a70d1126a68.zip
hostap-468b7b12a6e0edd41f288ad326d38a70d1126a68.tar.gz
hostap-468b7b12a6e0edd41f288ad326d38a70d1126a68.tar.bz2
Fix hostapd_sta_add() call to use NULL as the pointer instead of 0
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src')
-rw-r--r--src/ap/ieee802_11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index f6fca67..98601a8 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -1277,7 +1277,7 @@ static void handle_auth(struct hostapd_data *hapd,
sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_AUTH |
WLAN_STA_AUTHORIZED);
- if (hostapd_sta_add(hapd, sta->addr, 0, 0, 0, 0, 0,
+ if (hostapd_sta_add(hapd, sta->addr, 0, 0, NULL, 0, 0,
NULL, NULL, sta->flags, 0, 0, 0, 0)) {
hostapd_logger(hapd, sta->addr,
HOSTAPD_MODULE_IEEE80211,