developer | e35b8e4 | 2023-10-16 11:04:00 +0800 | [diff] [blame^] | 1 | From 345695bc97c9a69aa9717e2fceb2e42701a63486 Mon Sep 17 00:00:00 2001 |
| 2 | From: Michael Lee <michael-cy.lee@mediatek.com> |
| 3 | Date: Fri, 7 Jul 2023 17:17:30 +0800 |
| 4 | Subject: [PATCH 1005/1006] mac80211: mtk: Allow STA interface to set TX queue |
| 5 | parameters |
| 6 | |
| 7 | Signed-off-by: Michael Lee <michael-cy.lee@mediatek.com> |
| 8 | --- |
| 9 | net/wireless/nl80211.c | 1 + |
| 10 | 1 file changed, 1 insertion(+) |
| 11 | |
| 12 | diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c |
| 13 | index 4692480..e098263 100644 |
| 14 | --- a/net/wireless/nl80211.c |
| 15 | +++ b/net/wireless/nl80211.c |
| 16 | @@ -3497,6 +3497,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info) |
| 17 | } |
| 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 | -- |
| 25 | 2.39.2 |
| 26 | |