net: rmnet_data: Stop adding pad bytes for MAPv3 uplink packets

Hardware does not require pad bytes in egress packets when uplink
aggregation is not enabled.

CRs-Fixed: 1002396
Change-Id: I86459b7bc18da16b66f6c701ac324f28be8848fa
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
Subash Abhinov Kasiviswanathan 2016-04-12 20:16:32 -06:00 committed by Gerrit - the friendly Code Review server
parent f0db5bc32a
commit 1ee50c4425
1 changed files with 1 additions and 2 deletions

View File

@ -441,8 +441,7 @@ static int rmnet_map_egress_handler(struct sk_buff *skb,
rmnet_stats_ul_checksum(ckresult);
}
if ((config->egress_data_format & RMNET_EGRESS_FORMAT_MAP_CKSUMV4) &&
(!(config->egress_data_format & RMNET_EGRESS_FORMAT_AGGREGATION)))
if (!(config->egress_data_format & RMNET_EGRESS_FORMAT_AGGREGATION))
map_header = rmnet_map_add_map_header
(skb, additional_header_length, RMNET_MAP_NO_PAD_BYTES);
else