From: Eliad Peller Date: Wed, 4 Mar 2015 08:38:32 +0000 (+0200) Subject: iwlwifi: pcie: initialize trans_pcie->ref_count on configure() X-Git-Tag: omap-for-v4.2/o2_dc~131^2~39^2~6^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=483f3ab1754f3c3698db622cc181249a0ca6372c;p=pandora-kernel.git iwlwifi: pcie: initialize trans_pcie->ref_count on configure() ref_count is currently initialized on start_fw(). This causes some issues in restart flow, as currently active references (e.g. unclaimed command) will get cleared, resulting in invalid reference accounting. Move the ref_count initialization to the configure() trans op, so it won't be re-initialized on restart. Signed-off-by: Eliad Peller Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed