mwifiex: check SDIO multi-port aggregation buffer room correctly
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 14 Jul 2011 03:51:58 +0000 (20:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 21 Jul 2011 18:52:03 +0000 (14:52 -0400)
commitdf3b124bdb6fe2459625443bd3dc0dbd020932da
treea6f75132633b85bee1511e838a6dbf071655171c
parent4e3c44207f90500f65a3858d344b4ff3c63ea765
mwifiex: check SDIO multi-port aggregation buffer room correctly

We should consider current packet length also while checking
Tx aggregation buffer room.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@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