summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2015-12-14 13:15:09 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-12-30 15:58:00 +0100
commit47f336d7e0df3ef04f5bae0f5f37cdb0f09996e1 (patch)
tree9f55830d066edde2ddfe6dcd42cabf5eb44f73d3 /drivers/net/wireless/marvell/mwifiex
parentmwifiex: suppress "Rx of mgmt packet failed" message (diff)
downloadlinux-47f336d7e0df3ef04f5bae0f5f37cdb0f09996e1.tar.xz
linux-47f336d7e0df3ef04f5bae0f5f37cdb0f09996e1.zip
mwifiex: remove redundant timestamp assignment
During AMSDU aggregation, we are already using timestamp value of a first packet being aggregated. This patch removes redundant ktime_get_real() call. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex')
-rw-r--r--drivers/net/wireless/marvell/mwifiex/11n_aggr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
index aa498e0d2204..1efef3b8273d 100644
--- a/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
+++ b/drivers/net/wireless/marvell/mwifiex/11n_aggr.c
@@ -203,8 +203,6 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
skb_aggr->priority = skb_src->priority;
skb_aggr->tstamp = skb_src->tstamp;
- skb_aggr->tstamp = ktime_get_real();
-
do {
/* Check if AMSDU can accommodate this MSDU */
if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))