wifi: mt76: move mt76_tm_policy to from testmode.h to mt76.h

This fixes using testmode.h from user space code

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2024-09-24 12:34:25 +02:00
parent a2a9d98262
commit 059342ca6a
2 changed files with 2 additions and 2 deletions
+2
View File
@@ -14,6 +14,7 @@
#include <linux/usb.h>
#include <linux/average.h>
#include <linux/soc/mediatek/mtk_wed.h>
#include <net/netlink.h>
#include <net/mac80211.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,6,0)
#include <net/page_pool.h>
@@ -1473,6 +1474,7 @@ static inline void mt76_testmode_reset(struct mt76_phy *phy, bool disable)
#endif
}
extern const struct nla_policy mt76_tm_policy[NUM_MT76_TM_ATTRS];
/* internal */
static inline struct ieee80211_hw *