.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * This file is part of wl1271 |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2009 Nokia Corporation |
---|
5 | 6 | * |
---|
6 | 7 | * Contact: Luciano Coelho <luciano.coelho@nokia.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or |
---|
9 | | - * modify it under the terms of the GNU General Public License |
---|
10 | | - * version 2 as published by the Free Software Foundation. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, but |
---|
13 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | | - * General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License |
---|
18 | | - * along with this program; if not, write to the Free Software |
---|
19 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
---|
20 | | - * 02110-1301 USA |
---|
21 | | - * |
---|
22 | 8 | */ |
---|
23 | 9 | |
---|
24 | 10 | #include <linux/kernel.h> |
---|
.. | .. |
---|
287 | 273 | } |
---|
288 | 274 | |
---|
289 | 275 | /* configure packet life time */ |
---|
290 | | - hosttime = (ktime_get_boot_ns() >> 10); |
---|
| 276 | + hosttime = (ktime_get_boottime_ns() >> 10); |
---|
291 | 277 | desc->start_time = cpu_to_le32(hosttime - wl->time_offset); |
---|
292 | 278 | |
---|
293 | 279 | is_dummy = wl12xx_is_dummy_packet(wl, skb); |
---|