diff options
author | Amitkumar Karwar <akarwar@marvell.com> | 2015-12-14 13:15:09 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-12-30 15:58:00 +0100 |
commit | 47f336d7e0df3ef04f5bae0f5f37cdb0f09996e1 (patch) | |
tree | 9f55830d066edde2ddfe6dcd42cabf5eb44f73d3 /drivers/net/wireless/marvell/mwifiex | |
parent | mwifiex: suppress "Rx of mgmt packet failed" message (diff) | |
download | linux-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.c | 2 |
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)) |