Add business logic of Authentication/Association in SplitMAC mode.
This commit is contained in:
@ -1003,10 +1003,15 @@ int nl80211_station_authorize(struct wifi_wlan* wlan, struct wifi_station* stati
|
||||
if (result == -EEXIST) {
|
||||
result = 0;
|
||||
} else {
|
||||
capwap_logging_error("Unable add station into wireless driver, error code: %d", result);
|
||||
capwap_logging_error("Unable to authorized station, error code: %d", result);
|
||||
}
|
||||
}
|
||||
|
||||
/* */
|
||||
if (!result) {
|
||||
capwap_logging_info("Authorized station: %s", station->addrtext);
|
||||
}
|
||||
|
||||
/* */
|
||||
nlmsg_free(msg);
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user