]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix TX status for aggregated packets
authorJohannes Berg <johannes.berg@intel.com>
Tue, 25 Feb 2014 09:37:15 +0000 (10:37 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 27 Feb 2014 08:28:03 +0000 (10:28 +0200)
commit66bdba49d2655b5040156978ce6c18c632bd029d
tree97b4d3d7b70de67e782dd7185fc07bdf46bc7a32
parentcb59ec1ad7dee2fc31dcc3bb239bfcfe2d423c6b
iwlwifi: fix TX status for aggregated packets

Only the first packet is currently handled correctly, but then
all others are assumed to have failed which is problematic. Fix
this, marking them all successful instead (since if they're not
then the firmware will have transmitted them as single frames.)

This fixes the lost packet reporting.

Also do a tiny variable scoping cleanup.

Cc: <stable@vger.kernel.org>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
[Add the dvm part]
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/dvm/tx.c
drivers/net/wireless/iwlwifi/mvm/tx.c