developer | 9bc8ec1 | 2022-11-18 16:01:14 +0800 | [diff] [blame^] | 1 | From 202e4428abd4d55ee3bb1b3e692a257269ec68c3 Mon Sep 17 00:00:00 2001 |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 2 | From: Sujuan Chen <sujuan.chen@mediatek.com> |
| 3 | Date: Tue, 12 Jul 2022 13:56:07 +0800 |
developer | b81e95d | 2022-11-08 10:16:29 +0800 | [diff] [blame] | 4 | Subject: [PATCH 1122/1128] mt76 mt7915 initialize wcid |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 5 | |
| 6 | Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com> |
| 7 | --- |
developer | 6e3b5d1 | 2022-08-16 15:37:38 +0800 | [diff] [blame] | 8 | mt7915/mac.c | 2 +- |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 9 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/mt7915/mac.c b/mt7915/mac.c |
developer | 9bc8ec1 | 2022-11-18 16:01:14 +0800 | [diff] [blame^] | 12 | index 9af8616..acc9871 100644 |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 13 | --- a/mt7915/mac.c |
| 14 | +++ b/mt7915/mac.c |
developer | 2cbf2fb | 2022-11-16 12:20:48 +0800 | [diff] [blame] | 15 | @@ -999,7 +999,7 @@ mt7915_mac_tx_free(struct mt7915_dev *dev, void *data, int len) |
developer | f131310 | 2022-10-11 11:02:55 +0800 | [diff] [blame] | 16 | info = le32_to_cpu(*cur_info); |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 17 | if (info & MT_TX_FREE_PAIR) { |
developer | 6e3b5d1 | 2022-08-16 15:37:38 +0800 | [diff] [blame] | 18 | struct mt7915_sta *msta; |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 19 | - struct mt76_wcid *wcid; |
| 20 | + struct mt76_wcid *wcid = NULL; |
| 21 | u16 idx; |
| 22 | |
| 23 | idx = FIELD_GET(MT_TX_FREE_WLAN_ID, info); |
| 24 | -- |
developer | b81e95d | 2022-11-08 10:16:29 +0800 | [diff] [blame] | 25 | 2.18.0 |
developer | d497569 | 2022-07-15 18:30:03 +0800 | [diff] [blame] | 26 | |