]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9919539b59a9623433d5d789edc0e96020346fe4
treee8c9f270c29af34f5e0dc1e9864c3daac91a9ae5
parentb041971cf6e53a10801c61403e940e2cd8db8511
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