mwifiex: correction in MSDU padding logic
authorYogesh Ashok Powar <yogeshp@marvell.com>
Sat, 4 Aug 2012 01:06:01 +0000 (18:06 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Aug 2012 19:12:47 +0000 (15:12 -0400)
commitbda1b1b77918ea340bbfb2938a0fd7d5203e430c
tree93471bc59f809ca22e2ab89f7273370fcff6f321
parent7d273ef32a0d68f2751f74f7401de78f3c95afa8
mwifiex: correction in MSDU padding logic

Padding arithmetic will always work for MSDUs provided first MSDU
ends on 4-byte boundary. Fixing it by making sure that all MSDU ends
on 4-byte boundary.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/11n_aggr.c