blob: d34181e892e2cc5948958cd942194c1cffc1d0ac [file] [log] [blame]
developerbf24a8a2022-11-30 14:52:20 +08001From 010250dee3f031e1de7edc5c867b2057454a61a0 Mon Sep 17 00:00:00 2001
developer43c9ed92022-07-12 14:14:04 +08002From: Sujuan Chen <sujuan.chen@mediatek.com>
3Date: Tue, 12 Jul 2022 13:56:07 +0800
developerbf24a8a2022-11-30 14:52:20 +08004Subject: [PATCH 1123/1128] mt76: mt7915: initialize wcid
developer43c9ed92022-07-12 14:14:04 +08005
6Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
7---
developer684b6102022-08-08 09:11:25 +08008 mt7915/mac.c | 2 +-
developer43c9ed92022-07-12 14:14:04 +08009 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mt7915/mac.c b/mt7915/mac.c
developer144824b2022-11-25 21:27:43 +080012index 3b144ad0..dc4c6eb3 100644
developer43c9ed92022-07-12 14:14:04 +080013--- a/mt7915/mac.c
14+++ b/mt7915/mac.c
developer144824b2022-11-25 21:27:43 +080015@@ -1031,7 +1031,7 @@ mt7915_mac_tx_free(struct mt7915_dev *dev, void *data, int len)
developerc226de82022-10-03 12:24:57 +080016 info = le32_to_cpu(*cur_info);
developer43c9ed92022-07-12 14:14:04 +080017 if (info & MT_TX_FREE_PAIR) {
developer684b6102022-08-08 09:11:25 +080018 struct mt7915_sta *msta;
developer43c9ed92022-07-12 14:14:04 +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--
developerbf24a8a2022-11-30 14:52:20 +0800252.36.1
developer43c9ed92022-07-12 14:14:04 +080026