blob: ed572cc0c393c7b7c2f8cab9bbf41137927dd65c [file] [log] [blame]
developerd59e4772022-07-14 13:48:49 +08001From ce1b7634efbf75007f431dd770ebd70e47771029 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
developerd59e4772022-07-14 13:48:49 +08004Subject: [PATCH 1119/1119] mt76 mt7915 initialize wcid
developer43c9ed92022-07-12 14:14:04 +08005
6Signed-off-by: Sujuan Chen <sujuan.chen@mediatek.com>
7---
developerd59e4772022-07-14 13:48:49 +08008 drivers/net/wireless/mediatek/mt76/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
developerd59e4772022-07-14 13:48:49 +080012index 55b38d16..0310ca74 100644
developer43c9ed92022-07-12 14:14:04 +080013--- a/mt7915/mac.c
14+++ b/mt7915/mac.c
15@@ -974,7 +974,7 @@ mt7915_mac_tx_free(struct mt7915_dev *dev, void *data, int len)
16 * 1'b0: msdu_id with the same 'wcid pair' as above.
17 */
18 if (info & MT_TX_FREE_PAIR) {
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--
developerd59e4772022-07-14 13:48:49 +0800252.25.1
developer43c9ed92022-07-12 14:14:04 +080026