commit ef06f06cfb2168b6b2cf4371949a981378989f07
parent e3f4bfb428e29925a71705a77307f376d05db2a2
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Tue, 5 Mar 2019 14:12:19 -0800
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/owe.c b/src/owe.c
@@ -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;
}