summaryrefslogtreecommitdiff
path: root/test/bt-utils.c
diff options
context:
space:
mode:
authorJan Maria Matejka <mq@ucw.cz>2018-05-07 14:47:00 +0200
committerJan Maria Matejka <mq@ucw.cz>2018-05-29 12:35:06 +0200
commitee7e2ffd265fd76dbc8c94d9c2d48da54c27ff76 (patch)
tree7460254b1bd105e5bc45937e2e00aaac7da4ccf7 /test/bt-utils.c
parentc3becfe1934da2dc2c0881a71eac8a26f810791f (diff)
Protocol: Introducing an enum protocol_class
This supersedes the EAP_* constants.
Diffstat (limited to 'test/bt-utils.c')
-rw-r--r--test/bt-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bt-utils.c b/test/bt-utils.c
index 571ef2fa..7653abf6 100644
--- a/test/bt-utils.c
+++ b/test/bt-utils.c
@@ -75,8 +75,8 @@ bt_bird_init(void)
void bt_bird_cleanup(void)
{
- for (int i = 0; i < EAP_MAX; i++)
- attr_class_to_protocol[i] = NULL;
+ for (int i = 0; i < PROTOCOL__MAX; i++)
+ class_to_protocol[i] = NULL;
config = new_config = NULL;
}