* [PATCH] mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces
@ 2020-06-26 15:29 Pali Rohár
2020-07-15 9:12 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Pali Rohár @ 2020-06-26 15:29 UTC (permalink / raw)
To: Ganapathi Bhat, Amitkumar Karwar, Xinming Hu, Kalle Valo
Cc: linux-wireless, netdev, linux-kernel
This macro is already used in mwifiex driver for specifying upper limit and
is defined to value 3. So use it also in struct ieee80211_iface_limit.
Signed-off-by: Pali Rohár <pali@kernel.org>
---
drivers/net/wireless/marvell/mwifiex/cfg80211.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/wireless/marvell/mwifiex/cfg80211.c b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
index 4e4f59c17ded..867b5cf385a8 100644
--- a/drivers/net/wireless/marvell/mwifiex/cfg80211.c
+++ b/drivers/net/wireless/marvell/mwifiex/cfg80211.c
@@ -27,7 +27,8 @@ module_param(reg_alpha2, charp, 0);
static const struct ieee80211_iface_limit mwifiex_ap_sta_limits[] = {
{
- .max = 3, .types = BIT(NL80211_IFTYPE_STATION) |
+ .max = MWIFIEX_MAX_BSS_NUM,
+ .types = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_P2P_GO) |
BIT(NL80211_IFTYPE_P2P_CLIENT) |
BIT(NL80211_IFTYPE_AP),
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces
2020-06-26 15:29 [PATCH] mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces Pali Rohár
@ 2020-07-15 9:12 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2020-07-15 9:12 UTC (permalink / raw)
To: Pali Rohár
Cc: Ganapathi Bhat, Amitkumar Karwar, Xinming Hu, linux-wireless,
netdev, linux-kernel
Pali Rohár <pali@kernel.org> wrote:
> This macro is already used in mwifiex driver for specifying upper limit and
> is defined to value 3. So use it also in struct ieee80211_iface_limit.
>
> Signed-off-by: Pali Rohár <pali@kernel.org>
Patch applied to wireless-drivers-next.git, thanks.
0ef0ace3e8e7 mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces
--
https://patchwork.kernel.org/patch/11627789/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-07-15 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-26 15:29 [PATCH] mwifiex: Use macro MWIFIEX_MAX_BSS_NUM for specifying limit of interfaces Pali Rohár
2020-07-15 9:12 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).