sta: add sta_connection_state enum
authorDavid Bauer <mail@david-bauer.net>
Mon, 27 Sep 2021 17:35:55 +0000 (19:35 +0200)
committerDavid Bauer <mail@david-bauer.net>
Fri, 15 Oct 2021 13:50:25 +0000 (15:50 +0200)
commitd3ff0d59dac2ae6fc49036ed4199480b3562f477
tree5642e222bdd9a56765a3170da5eeb668b35573f2
parent30f9ba761727c0711fb48d31efddc84c6037a1e0
sta: add sta_connection_state enum

Make the connection state of a sta-info more readable by introducing an
enum for the STA connection state.

Also switch come comparison cases to use the explicit enum values to
make the code more readable.

Signed-off-by: David Bauer <mail@david-bauer.net>
local_node.c
policy.c
sta.c
ubus.c
usteer.h