blob: 21728682ac4e404a50e487e1308436f26f32c527 [file] [log] [blame]
developer28b11e22022-09-05 19:09:45 +08001From 7f7b35a036ad9b53f5a53a0728eb8a095eef5c8c Mon Sep 17 00:00:00 2001
developer072c5612022-07-15 18:30:03 +08002From: Sujuan Chen <sujuan.chen@mediatek.com>
3Date: Tue, 12 Jul 2022 13:56:07 +0800
developer28b11e22022-09-05 19:09:45 +08004Subject: [PATCH 1120/1121] mt76 mt7915 initialize wcid
developer072c5612022-07-15 18:30:03 +08005
6Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
7---
developerf2548b02022-08-16 15:37:38 +08008 mt7915/mac.c | 2 +-
developer072c5612022-07-15 18:30:03 +08009 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/mt7915/mac.c b/mt7915/mac.c
developer28b11e22022-09-05 19:09:45 +080012index f0eefc6..7c11e28 100644
developer072c5612022-07-15 18:30:03 +080013--- a/mt7915/mac.c
14+++ b/mt7915/mac.c
developer28b11e22022-09-05 19:09:45 +080015@@ -965,7 +965,7 @@ mt7915_mac_tx_free(struct mt7915_dev *dev, void *data, int len)
developer072c5612022-07-15 18:30:03 +080016 */
17 if (info & MT_TX_FREE_PAIR) {
developerf2548b02022-08-16 15:37:38 +080018 struct mt7915_sta *msta;
developer072c5612022-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--
developerf2548b02022-08-16 15:37:38 +0800252.18.0
developer072c5612022-07-15 18:30:03 +080026