Signed-off-by: Sven Eckelmann sven@narfation.org --- batadv_query.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/batadv_query.c b/batadv_query.c index 2a607b9..c289b80 100644 --- a/batadv_query.c +++ b/batadv_query.c @@ -269,10 +269,10 @@ uint8_t get_tq(const char *mesh_iface, struct ether_addr *mac) } else if (strlen(token) == 1) { pos = orig_tqvalue; break; - } else { - /* fall through */ - token++; } + + token++; + /* fall through */ case orig_tqvalue: if (token[strlen(token) - 1] != ')') { line_invalid = 1;