Parcourir la source

wlantest: Add TDLS entry on TDLS Setup Request

This will make the TDLS counters available even if setup fails.
Jouni Malinen il y a 14 ans
Parent
commit
8a1cf4be21
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      wlantest/rx_tdls.c

+ 1 - 0
wlantest/rx_tdls.c

@@ -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);
 }