3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-04 02:18:49 +02:00

owe: handle all non-zero status codes in owe_rx_associate

Now that the OWE failure/retry is handled in netdev, we can catch
all associate error status' inside owe_rx_associate rather than only
catching UNSUPP_FINITE_CYCLIC_GROUP.
This commit is contained in:
James Prestwood 2019-03-05 14:12:19 -08:00 committed by Denis Kenzior
parent e3f4bfb428
commit ef06f06cfb

View File

@ -244,7 +244,7 @@ void owe_rx_associate(struct owe_sm *owe, const uint8_t *frame, size_t len)
body = mmpdu_body(mpdu);
if (body->status_code == MMPDU_STATUS_CODE_UNSUPP_FINITE_CYCLIC_GROUP) {
if (body->status_code) {
owe->complete(body->status_code, owe->user_data);
return;
}