Return-path: Received: from mtiwmhc13.worldnet.att.net ([204.127.131.117]:45464 "EHLO mtiwmhc13.worldnet.att.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751193AbYJVCpX (ORCPT ); Tue, 21 Oct 2008 22:45:23 -0400 Message-ID: <48FE93C1.6030407@lwfinger.net> (sfid-20081022_044528_488966_711659CD) Date: Tue, 21 Oct 2008 19:45:21 -0700 From: Larry Finger MIME-Version: 1.0 To: "John W. Linville" CC: Jouni Malinen , wireless , LKML Subject: Re: Regression in 2.6.27-git from commit 43ac2ca3840f64 References: <48FDFCCA.8040604@lwfinger.net> <20081021213723.GL17268@tuxdriver.com> In-Reply-To: <20081021213723.GL17268@tuxdriver.com> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: John W. Linville wrote: > From: John W. Linville > Subject: [PATCH] mac80211: do not aggregate IEs from scan results > > Signed-off-by: John W. Linville > --- > 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