* [PATCH] Revert "ath6kl: protect firmware from excessive WoW pattern length"
@ 2012-08-27 14:12 Kalle Valo
2012-08-27 14:13 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Kalle Valo @ 2012-08-27 14:12 UTC (permalink / raw)
To: kvalo; +Cc: linux-wireless, ath6kl-devel
This reverts commit d9070af7d48985324c1896a4758230c2bfe59f3c.
Thomas requested this in 20120820181837.GA4695@pista as Johannes
pointed out that cfg80211 already checks this.
---
drivers/net/wireless/ath/ath6kl/cfg80211.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/ath/ath6kl/cfg80211.c b/drivers/net/wireless/ath/ath6kl/cfg80211.c
index fb20ff6..f5300c3 100644
--- a/drivers/net/wireless/ath/ath6kl/cfg80211.c
+++ b/drivers/net/wireless/ath/ath6kl/cfg80211.c
@@ -1876,9 +1876,6 @@ static int ath6kl_wow_usr(struct ath6kl *ar, struct ath6kl_vif *vif,
/* Configure the patterns that we received from the user. */
for (i = 0; i < wow->n_patterns; i++) {
- if (wow->patterns[i].pattern_len > WOW_MASK_SIZE)
- return -EINVAL;
-
/*
* Convert given nl80211 specific mask value to equivalent
* driver specific mask value and send it to the chip along
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "ath6kl: protect firmware from excessive WoW pattern length"
2012-08-27 14:12 [PATCH] Revert "ath6kl: protect firmware from excessive WoW pattern length" Kalle Valo
@ 2012-08-27 14:13 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2012-08-27 14:13 UTC (permalink / raw)
To: Kalle Valo; +Cc: linux-wireless, ath6kl-devel
On 08/27/2012 05:12 PM, Kalle Valo wrote:
> This reverts commit d9070af7d48985324c1896a4758230c2bfe59f3c.
>
> Thomas requested this in 20120820181837.GA4695@pista as Johannes
> pointed out that cfg80211 already checks this.
Applied to ath6kl.git.
Kalle
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-27 14:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-27 14:12 [PATCH] Revert "ath6kl: protect firmware from excessive WoW pattern length" Kalle Valo
2012-08-27 14:13 ` 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).