Fix hostapd_sta_add() call to use NULL as the pointer instead of 0
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
0558bec1fd
commit
468b7b12a6
1 changed files with 1 additions and 1 deletions
|
@ -1277,7 +1277,7 @@ static void handle_auth(struct hostapd_data *hapd,
|
||||||
sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_AUTH |
|
sta->flags &= ~(WLAN_STA_ASSOC | WLAN_STA_AUTH |
|
||||||
WLAN_STA_AUTHORIZED);
|
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)) {
|
NULL, NULL, sta->flags, 0, 0, 0, 0)) {
|
||||||
hostapd_logger(hapd, sta->addr,
|
hostapd_logger(hapd, sta->addr,
|
||||||
HOSTAPD_MODULE_IEEE80211,
|
HOSTAPD_MODULE_IEEE80211,
|
||||||
|
|
Loading…
Reference in a new issue