From: Michal Kazior Date: Wed, 16 Oct 2013 12:44:45 +0000 (+0300) Subject: ath10k: fix add_interface failure handling X-Git-Tag: v3.13-rc1~105^2~55^2^2~53^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dad14ae289ec676b9f8a2ee00a3fa18c51c683a;p=pandora-kernel.git ath10k: fix add_interface failure handling If something failed along add_interface() setup it was possible to leak a vdev id, vdev and peer. This could end up with leaked FW state or FW crash (assuming add_interface() failure wasn't a result of a crash). kvalo: rebased, whitespace fixes Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed