From 8fbd0870fc130e1d4d43f575c65d7ddd92edc200 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 27 Feb 2019 13:30:42 -0800 Subject: [PATCH] unit: fix test-sae to use new status codes --- unit/test-sae.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit/test-sae.c b/unit/test-sae.c index 0f5d8d15..6f9fcee6 100644 --- a/unit/test-sae.c +++ b/unit/test-sae.c @@ -245,7 +245,7 @@ static void test_clogging(const void *arg) struct sae_sm *sm = test_initialize(td); l_put_le16(1, frame); - l_put_le16(MMPDU_REASON_CODE_ANTI_CLOGGING_TOKEN_REQ, frame + 2); + l_put_le16(MMPDU_STATUS_CODE_ANTI_CLOGGING_TOKEN_REQ, frame + 2); l_put_le16(19, frame + 4); memcpy(frame + 6, td->test_clogging_token, 32); @@ -352,7 +352,7 @@ static void test_bad_group(const void *arg) sae_rx_packet(sm, aa, aa_commit_bad_group, sizeof(aa_commit_bad_group)); assert(td->tx_reject_occurred); - assert(td->status == MMPDU_REASON_CODE_UNSUPP_FINITE_CYCLIC_GROUP); + assert(td->status == MMPDU_STATUS_CODE_UNSUPP_FINITE_CYCLIC_GROUP); test_destruct(td); }