developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 1 | From 75f507486da757510fddd49289d783c6529ab9fc Mon Sep 17 00:00:00 2001 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 2 | From: Michael Lee <michael-cy.lee@mediatek.com> |
| 3 | Date: Fri, 7 Jul 2023 17:17:30 +0800 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 4 | Subject: [PATCH 38/89] mtk: mac80211: Allow STA interface to set TX queue |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 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 |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 13 | index 6b03037..d4e7ed8 100644 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 14 | --- a/net/wireless/nl80211.c |
| 15 | +++ b/net/wireless/nl80211.c |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 16 | @@ -3688,6 +3688,7 @@ static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info) |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 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 | -- |
developer | 05f3b2b | 2024-08-19 19:17:34 +0800 | [diff] [blame] | 25 | 2.18.0 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 26 | |