stop timeout when authorization completes

This commit is contained in:
Andreas Schultz 2016-04-05 13:05:43 +02:00
parent 934c7ea64d
commit bb684e92ea
1 changed files with 3 additions and 0 deletions

View File

@ -1900,6 +1900,9 @@ int wifi_station_authorize(struct wifi_wlan* wlan, struct station_add_params* pa
station->flags |= WIFI_STATION_FLAGS_HT_CAP;
}
/* Stop authorization timeout */
ev_timer_stop(EV_DEFAULT_UC_ &station->timeout);
/* Station authorized */
result = wlan->device->instance->ops->station_authorize(wlan, station);
if (result) {