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>
This commit is contained in:
parent
bd642acf32
commit
47f336d7e0
|
@ -203,8 +203,6 @@ mwifiex_11n_aggregate_pkt(struct mwifiex_private *priv,
|
||||||
skb_aggr->priority = skb_src->priority;
|
skb_aggr->priority = skb_src->priority;
|
||||||
skb_aggr->tstamp = skb_src->tstamp;
|
skb_aggr->tstamp = skb_src->tstamp;
|
||||||
|
|
||||||
skb_aggr->tstamp = ktime_get_real();
|
|
||||||
|
|
||||||
do {
|
do {
|
||||||
/* Check if AMSDU can accommodate this MSDU */
|
/* Check if AMSDU can accommodate this MSDU */
|
||||||
if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
|
if (skb_tailroom(skb_aggr) < (skb_src->len + LLC_SNAP_LEN))
|
||||||
|
|
Loading…
Reference in New Issue