From: Emmanuel Grumbach Date: Mon, 20 Jan 2014 13:21:26 +0000 (+0200) Subject: iwlwifi: mvm: don't leak a station when we drain X-Git-Tag: v3.14-rc3~36^2~27^2^2~12^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bb0c1adc52ca3c7026811a6630a3c78eec1f135;p=pandora-kernel.git iwlwifi: mvm: don't leak a station when we drain We had a bug that prevented us from removing a station after we entered the drain flow: We assign sta to be NULL if it was an error value. Then we tested it against -EBUSY, but forget to retrieve the value again from mvm->fw_id_to_mac_id[sta_id]. Due to this bug, we ended up never removing the STA from the firmware. This led to an firmware assert when we remove the GO vif. Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed