wlantest: Add TDLS entry on TDLS Setup Request

This will make the TDLS counters available even if setup fails.
This commit is contained in:
Jouni Malinen 2011-01-19 14:00:14 +02:00 committed by Jouni Malinen
parent 2caf69247b
commit 8a1cf4be21

View file

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