]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wlantest: Add TDLS entry on TDLS Setup Request
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 19 Jan 2011 12:00:14 +0000 (14:00 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 19 Jan 2011 12:00:14 +0000 (14:00 +0200)
This will make the TDLS counters available even if setup fails.

wlantest/rx_tdls.c

index 0fd4af6513f2c1eedd7bb991828312a7ef11e8fb..05509b41c62a42ec1eea3e4622063c45c765cf10 100644 (file)
@@ -201,6 +201,7 @@ static void rx_data_tdls_setup_request(struct wlantest *wt, const u8 *bssid,
                   " initiator STA " MACSTR " responder STA " MACSTR,
                   MAC2STR(elems.link_id), MAC2STR(elems.link_id + ETH_ALEN),
                   MAC2STR(elems.link_id + 2 * ETH_ALEN));
+       get_tdls(wt, elems.link_id);
 }