blob: 9affe14be1f59259ae6720265492798b4e6ba9ad [file] [log] [blame]
developer23b6c0f2024-02-23 07:09:37 +08001From 180f80da3952be05a0177b565559a16dee708925 Mon Sep 17 00:00:00 2001
developerc2cfe0f2023-09-22 04:11:09 +08002From: Michael Lee <michael-cy.lee@mediatek.com>
3Date: Fri, 7 Jul 2023 17:17:30 +0800
developer5f4e6c32023-12-20 06:12:53 +08004Subject: [PATCH 28/37] mtk: mac80211: Allow STA interface to set TX queue
developerc2cfe0f2023-09-22 04:11:09 +08005 parameters
6
7Signed-off-by: Michael Lee <michael-cy.lee@mediatek.com>
8---
9 net/wireless/nl80211.c | 1 +
10 1 file changed, 1 insertion(+)
11
12diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
developer23b6c0f2024-02-23 07:09:37 +080013index 2be678c..aed186f 100644
developerc2cfe0f2023-09-22 04:11:09 +080014--- a/net/wireless/nl80211.c
15+++ b/net/wireless/nl80211.c
developer23b6c0f2024-02-23 07:09:37 +080016@@ -3498,6 +3498,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
developerc2cfe0f2023-09-22 04:11:09 +080017 }
18
19 if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
20+ netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_STATION &&
21 netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) {
22 result = -EINVAL;
23 goto out;
24--
developer5f4e6c32023-12-20 06:12:53 +0800252.18.0
developerc2cfe0f2023-09-22 04:11:09 +080026