]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FST: Remove a bogus WPA_ASSERT()
authorJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 16:44:36 +0000 (18:44 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Jan 2017 16:44:36 +0000 (18:44 +0200)
own_addr is not defined here, so no idea what this WPA_ASSERT() was
trying to check.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/fst/fst_session.c

index 76e2c78f4ff6c342f6c8b6de630bd5adc85fe2e0..a02a93e76e43322620d77cfb039516af9bb2fa5e 100644 (file)
@@ -756,8 +756,6 @@ struct fst_session * fst_session_create(struct fst_group *g)
        struct fst_session *s;
        u32 id;
 
-       WPA_ASSERT(!is_zero_ether_addr(own_addr));
-
        id = fst_find_free_session_id();
        if (id == FST_INVALID_SESSION_ID) {
                fst_printf(MSG_ERROR, "Cannot assign new session ID");