summaryrefslogtreecommitdiff
path: root/net/mac80211
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2010-02-20 02:47:33 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-02-22 19:15:50 +0300
commita120e912eb51e347f36c71b60a1d13af74d30e83 (patch)
treed07795748f9ccbd53958f24671fab60eb8c1bf48 /net/mac80211
parenta239a8b47cc0e5e6d7416a89f340beac06d5edaa (diff)
downloadlinux-a120e912eb51e347f36c71b60a1d13af74d30e83.tar.xz
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 <sgruszka@redhat.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> CC: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions