TDLS: Bail on STA add failure in tpk_m1 processing
authorArik Nemtsov <arik@wizery.com>
Tue, 10 Jun 2014 18:19:05 +0000 (21:19 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 Jun 2014 20:36:42 +0000 (23:36 +0300)
commit342bce63cdb375bc64ce1cbcdb9e6f48acdea1e3
tree9f388de5635591e2bd05ff00a034262d57c83011
parent947f900fb8e431437bc9f8ff583a61b6624b3e72
TDLS: Bail on STA add failure in tpk_m1 processing

The driver might not be able to add the TDLS STA. Fail if this happens.
Also fix the error path to always reset the TDLS peer data.

Signed-off-by: Arik Nemtsov <arikx.nemtsov@intel.com>
src/rsn_supp/tdls.c