]> git.baikalelectronics.ru Git - kernel.git/commit
mwifiex: fix a bug in Tx multiport aggregation
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 12 Sep 2014 14:38:51 +0000 (20:08 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Sep 2014 19:00:51 +0000 (15:00 -0400)
commit1a1f07e6b6ba84d9e1a39b36824bbaa989536d7e
treed4df8023b17b1928e874ae3afd6b296f55e0872c
parent0f31a0733666d0fd97a9a1d9def53f98f3d743c5
mwifiex: fix a bug in Tx multiport aggregation

When aggregation port limit is reached, we stop aggregation and
the data is sent to firmware. It is observed that one less packet
than the port limit is aggregated in this case. ex. 15 instead of
16.
The reason is we have redundant port limit checks before current
packet is added to aggregation buffer.

The issue is fixed by removing these checks. We already have
necessary check in precopy current buffer handling.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Avinash Patil <patila@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/sdio.c