Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCH 3.1] wl12xx: add max_sched_scan_ssids value to the hw description
@ 2011-08-23  8:42 Luciano Coelho
  2011-08-23  8:44 ` Luciano Coelho
  0 siblings, 1 reply; 2+ messages in thread
From: Luciano Coelho @ 2011-08-23  8:42 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

After commit 5a865ba, we require a separate value to indicate the
number of supported SSIDs in scheduled scans.  This patch adds a
proper value to the wl12xx driver.

This fixes a regression in 3.1-rc3 where scheduled scans were not
working properly with the wl12xx driver.

Signed-off-by: Luciano Coelho <coelho@ti.com>
---
 drivers/net/wireless/wl12xx/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index e58c22d..b70ae40 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -4283,6 +4283,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
 	wl->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
 		BIT(NL80211_IFTYPE_ADHOC) | BIT(NL80211_IFTYPE_AP);
 	wl->hw->wiphy->max_scan_ssids = 1;
+	wl->hw->wiphy->max_sched_scan_ssids = 1;
 	/*
 	 * Maximum length of elements in scanning probe request templates
 	 * should be the maximum length possible for a template, without
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3.1] wl12xx: add max_sched_scan_ssids value to the hw description
  2011-08-23  8:42 [PATCH 3.1] wl12xx: add max_sched_scan_ssids value to the hw description Luciano Coelho
@ 2011-08-23  8:44 ` Luciano Coelho
  0 siblings, 0 replies; 2+ messages in thread
From: Luciano Coelho @ 2011-08-23  8:44 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

Hi John,

On Tue, 2011-08-23 at 11:42 +0300, Luciano Coelho wrote: 
> After commit 5a865ba, we require a separate value to indicate the
> number of supported SSIDs in scheduled scans.  This patch adds a
> proper value to the wl12xx driver.
> 
> This fixes a regression in 3.1-rc3 where scheduled scans were not
> working properly with the wl12xx driver.
> 
> Signed-off-by: Luciano Coelho <coelho@ti.com>
> ---

Could you please apply this patch to 3.1 too? For some reason I didn't
push my change in the wl12xx driver after I made the changes to include
max_sched_scan_ssids in the hw configuration.

This is a one-liner very trivial patch that fixes a regression, so I
hope it's still okay to get it in.

-- 
Cheers,
Luca.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-23  8:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23  8:42 [PATCH 3.1] wl12xx: add max_sched_scan_ssids value to the hw description Luciano Coelho
2011-08-23  8:44 ` Luciano Coelho

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox