From: Arik Nemtsov Date: Thu, 17 Jul 2014 14:14:18 +0000 (+0300) Subject: mac80211: fix error path for TDLS setup X-Git-Tag: cleanup-for-v3.18~108^2~73^2~18^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ae32e5d284a5db589bfa63561932ad3306f538a;p=pandora-kernel.git mac80211: fix error path for TDLS setup The patch "8f02e6b mac80211: make sure TDLS peer STA exists during setup" broke TDLS error paths where the STA doesn't exist when sending the error. Fix it by only testing for STA existence during a non-error flow. Signed-off-by: Arik Nemtsov Reviewed-by: Johannes Berg Signed-off-by: Johannes Berg --- Reading git-diff-tree failed