blob: f0e0d3ceb9a6851e22984fab1c28ca759924470f [file] [log] [blame]
developer9bc8ec12022-11-18 16:01:14 +08001From 202e4428abd4d55ee3bb1b3e692a257269ec68c3 Mon Sep 17 00:00:00 2001
developerd4975692022-07-15 18:30:03 +08002From: Sujuan Chen <sujuan.chen@mediatek.com>
3Date: Tue, 12 Jul 2022 13:56:07 +0800
developerb81e95d2022-11-08 10:16:29 +08004Subject: [PATCH 1122/1128] mt76 mt7915 initialize wcid
developerd4975692022-07-15 18:30:03 +08005
6Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
7---
developer6e3b5d12022-08-16 15:37:38 +08008 mt7915/mac.c | 2 +-
developerd4975692022-07-15 18:30:03 +08009 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mt7915/mac.c b/mt7915/mac.c
developer9bc8ec12022-11-18 16:01:14 +080012index 9af8616..acc9871 100644
developerd4975692022-07-15 18:30:03 +080013--- a/mt7915/mac.c
14+++ b/mt7915/mac.c
developer2cbf2fb2022-11-16 12:20:48 +080015@@ -999,7 +999,7 @@ mt7915_mac_tx_free(struct mt7915_dev *dev, void *data, int len)
developerf1313102022-10-11 11:02:55 +080016 info = le32_to_cpu(*cur_info);
developerd4975692022-07-15 18:30:03 +080017 if (info & MT_TX_FREE_PAIR) {
developer6e3b5d12022-08-16 15:37:38 +080018 struct mt7915_sta *msta;
developerd4975692022-07-15 18:30:03 +080019- 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--
developerb81e95d2022-11-08 10:16:29 +0800252.18.0
developerd4975692022-07-15 18:30:03 +080026