lkml.org 
[lkml]   [2008]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Regression in 2.6.27-git from commit 43ac2ca3840f64
John W. Linville wrote:
> From: John W. Linville <linville@tuxdriver.com>
> Subject: [PATCH] mac80211: do not aggregate IEs from scan results
>
> Signed-off-by: John W. Linville <linville@tuxdriver.com>
> ---
> net/mac80211/scan.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/net/mac80211/scan.c b/net/mac80211/scan.c
> index 416bb41..51ed74d 100644
> --- a/net/mac80211/scan.c
> +++ b/net/mac80211/scan.c
> @@ -728,8 +728,6 @@ static void ieee80211_scan_add_ies(struct iw_request_info *info,
>
> while (end - pos > IW_GENERIC_IE_MAX) {
> next = pos + 2 + pos[1];
> - while (next + 2 + next[1] - pos < IW_GENERIC_IE_MAX)
> - next = next + 2 + next[1];
>
> memset(&iwe, 0, sizeof(iwe));
> iwe.cmd = IWEVGENIE;

No, this patch does not fix the problem.

Larry


\
 
 \ /
  Last update: 2008-10-22 04:47    [W:0.060 / U:6.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site