TDLS: Use wpa_tdls_disable_peer_link() to avoid peer search
authorSunil Dutt <c_duttus@qti.qualcomm.com>
Mon, 30 Sep 2013 14:34:13 +0000 (17:34 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 30 Sep 2013 14:34:13 +0000 (17:34 +0300)
commit1a0a2ce39c3886555f8214fae9385c924e174eca
tree62908b4581cc11dd42134c59bc51d4ff0c769e63
parent83d3fdb7c61fc5be1c7172079faf5cd59ec9b935
TDLS: Use wpa_tdls_disable_peer_link() to avoid peer search

There is no need to go through the peer list when we already have a
pointer to the specific peer entry.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/tdls.c