mwifiex: remove extra padding to AMSDU
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Sat Sep 29 10:59:16 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7d273ef32a0d68f2751f74f7401de78f3c95afa8
Commit: 7d273ef32a0d68f2751f74f7401de78f3c95afa8
Parent: d92a680359ff3230bd1e68ac8f3ac827639f494e
Author: Yogesh Ashok Powar <yogeshp at marvell.com>
AuthorDate: Fri Aug 3 18:06:00 2012 -0700
Committer: John W. Linville <linville at tuxdriver.com>
CommitDate: Mon Aug 6 15:12:46 2012 -0400
mwifiex: remove extra padding to AMSDU
Since commit: fb3c19bc9687d972b83faf366b38ac807eca8f25, adding
extra padding to AMSDU is redundant since same is being performed at
mwifiex_11n_aggregate_pkt after forming the AMSDU packet. Fixing it
by removing it.
Signed-off-by: Yogesh Ashok Powar <yogeshp at marvell.com>
Signed-off-by: Amitkumar Karwar <akarwar at marvell.com>
Signed-off-by: Kiran Divekar <dkiran at marvell.com>
Signed-off-by: Bing Zhao <bzhao at marvell.com>
Signed-off-by: John W. Linville <linville at tuxdriver.com>
---
drivers/net/wireless/mwifiex/11n_aggr.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/mwifiex/11n_aggr.c b/drivers/net/wireless/mwifiex/11n_aggr.c
index c631c7c..04222f2 100644
--- a/drivers/net/wireless/mwifiex/11n_aggr.c
+++ b/drivers/net/wireless/mwifiex/11n_aggr.c
@@ -84,7 +84,6 @@ mwifiex_11n_form_amsdu_pkt(struct sk_buff *skb_aggr,
*pad = (((skb_src->len + LLC_SNAP_LEN) & 3)) ? (4 - (((skb_src->len +
LLC_SNAP_LEN)) & 3)) : 0;
- skb_put(skb_aggr, *pad);
return skb_aggr->len + *pad;
}
More information about the linux-mtd-cvs
mailing list