[][MAC80211][mt76][Fix patch fail]

[Description]
Fix patch 0002-mt76-testmode-rework-tx-antenna-setting fail

[Release-log]
N/A

Change-Id: Iebcfba0ae927f753a349f4ae47706ff56dd18575
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6454073
diff --git a/autobuild_mac80211_release/package/kernel/mt76/patches/0002-mt76-testmode-rework-tx-antenna-setting.patch b/autobuild_mac80211_release/package/kernel/mt76/patches/0002-mt76-testmode-rework-tx-antenna-setting.patch
index 4600e99..acc323f 100644
--- a/autobuild_mac80211_release/package/kernel/mt76/patches/0002-mt76-testmode-rework-tx-antenna-setting.patch
+++ b/autobuild_mac80211_release/package/kernel/mt76/patches/0002-mt76-testmode-rework-tx-antenna-setting.patch
@@ -1,13 +1,13 @@
-From 29fbf66158df1596d043ed568933f1af424ee2d4 Mon Sep 17 00:00:00 2001
+From 879e20ba9e16a41db88087dd73e4ebbfecb1388b Mon Sep 17 00:00:00 2001
 From: Shayne Chen <shayne.chen@mediatek.com>
 Date: Fri, 25 Feb 2022 09:36:01 +0800
 Subject: [PATCH 2/8] mt76: testmode: rework tx antenna setting
 
 ---
  mt7915/mcu.c      |  7 +------
- mt7915/testmode.c | 12 +++++-------
+ mt7915/testmode.c | 13 ++++++-------
  testmode.c        |  3 +--
- 3 files changed, 7 insertions(+), 15 deletions(-)
+ 3 files changed, 8 insertions(+), 15 deletions(-)
 
 diff --git a/mt7915/mcu.c b/mt7915/mcu.c
 index 7767bfe..e3123f2 100644
@@ -30,7 +30,7 @@
  #endif
  
 diff --git a/mt7915/testmode.c b/mt7915/testmode.c
-index 0186602..9d46d69 100644
+index 0186602..41b9949 100644
 --- a/mt7915/testmode.c
 +++ b/mt7915/testmode.c
 @@ -474,11 +474,7 @@ mt7915_tm_set_tx_frames(struct mt7915_phy *phy, bool en)
@@ -46,18 +46,19 @@
  		}
  	}
  
-@@ -720,8 +716,9 @@ mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
+@@ -720,8 +716,10 @@ mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
  {
  	struct mt76_testmode_data *td = &mphy->test;
  	struct mt7915_phy *phy = mphy->priv;
 -	u32 changed = 0;
++	struct mt7915_dev *dev = phy->dev;
 +	u32 chainmask = mphy->chainmask, changed = 0;
  	int i;
 +	bool ext_phy = phy != &dev->phy;
  
  	BUILD_BUG_ON(NUM_TM_CHANGED >= 32);
  
-@@ -729,7 +726,8 @@ mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
+@@ -729,7 +727,8 @@ mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb,
  	    td->state == MT76_TM_STATE_OFF)
  		return 0;