.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * WSM host interface (HI) implementation for |
---|
3 | 4 | * ST-Ericsson CW1200 mac80211 drivers. |
---|
4 | 5 | * |
---|
5 | 6 | * Copyright (c) 2010, ST-Ericsson |
---|
6 | 7 | * Author: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 as |
---|
10 | | - * published by the Free Software Foundation. |
---|
11 | 8 | */ |
---|
12 | 9 | |
---|
13 | 10 | #include <linux/skbuff.h> |
---|
.. | .. |
---|
1031 | 1028 | static int wsm_ba_timeout_indication(struct cw1200_common *priv, |
---|
1032 | 1029 | struct wsm_buf *buf) |
---|
1033 | 1030 | { |
---|
1034 | | - u32 dummy; |
---|
1035 | 1031 | u8 tid; |
---|
1036 | | - u8 dummy2; |
---|
1037 | 1032 | u8 addr[ETH_ALEN]; |
---|
1038 | 1033 | |
---|
1039 | | - dummy = WSM_GET32(buf); |
---|
| 1034 | + WSM_GET32(buf); |
---|
1040 | 1035 | tid = WSM_GET8(buf); |
---|
1041 | | - dummy2 = WSM_GET8(buf); |
---|
| 1036 | + WSM_GET8(buf); |
---|
1042 | 1037 | WSM_GET(buf, addr, ETH_ALEN); |
---|
1043 | 1038 | |
---|
1044 | 1039 | pr_info("BlockACK timeout, tid %d, addr %pM\n", |
---|