mac80211: fix an issue in ieee80211_tx_info count field management
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 6 Apr 2012 18:48:15 +0000 (20:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:32:49 +0000 (14:32 -0400)
commitd01b31604c55c52e08fbc6fc160137a12983df64
treee8c9f270c29af34f5e0dc1e9864c3daac91a9ae5
parentd91df0e3a1b9a7427785cb8d28be073df9b18b78
mac80211: fix an issue in ieee80211_tx_info count field management

I noticed a possible issue in the status count field management of the
ieee80211_tx_info data structure. In particular, when the AGGR
processing is employed,
status.rates[].count is set just for the first frame and not for
others belonging to the same burst, leading to wrong statistic data in
the mac80211 debug file system.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/status.c