From: Stanislaw Gruszka Date: Fri, 19 Feb 2010 23:47:33 +0000 (-0800) Subject: iwlwifi: sanity check before counting number of tfds can be free X-Git-Tag: v2.6.33~5^2~1^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a120e912eb51e347f36c71b60a1d13af74d30e83;p=pandora-kernel.git iwlwifi: sanity check before counting number of tfds can be free Check the frame control for ieee80211_is_data_qos() is true before counting the number of tfds can be free, the tfds_in_queue only increment when ieee80211_is_data_qos() is true before transmit; so it should only decrement if the type match. Remove ieee80211_is_data_qos check for frame_ctrl in tx_resp to avoid invalid information pass from uCode. Signed-off-by: Stanislaw Gruszka Signed-off-by: Wey-Yi Guy Signed-off-by: Reinette Chatre CC: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed