[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b6a2187b0903182025y5552900cu6213a4f4eafeb6e6@mail.gmail.com>
Date: Thu, 19 Mar 2009 11:25:44 +0800
From: Jeff Chua <jeff.chua.linux@...il.com>
To: Johannes Berg <johannes@...solutions.net>
Cc: Ingo Molnar <mingo@...e.hu>,
Linus Torvalds <torvalds@...ux-foundation.org>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Adrian Bunk <bunk@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kernel Testers List <kernel-testers@...r.kernel.org>,
Network Development <netdev@...r.kernel.org>,
"John W. Linville" <linville@...driver.com>
Subject: Re: 2.6.29-rc8: Reported regressions from 2.6.28
On Thu, Mar 19, 2009 at 10:58 AM, Jeff Chua <jeff.chua.linux@...il.com> wrote:
> I've tracked down to the sequence of iwconfig that causes it to fail.
> This loop only works 8 of 10 times with/without the patch.
> iwconfig wlan0 mode Managed essid xxx key restricted xxx
> iwconfig wlan0 ap auto channel auto # auto outside loop
> for((i = 0; i < 5; i++))
> do
> iwconfig wlan0 | grep -q "Not-Associated"
> [ $? -ne 0 ] && break
> echo ".\c"
> sleep 1
> done
I've modified it a little, and now it works 100% without patch, by
using "iwlist scan" instead of "sleep 1" ...
iwconfig wlan0 mode Managed essid xxx key restricted xxx
iwconfig wlan0 ap auto channel auto # auto outside loop
for((i = 0; i < 5; i++))
do
iwlist wlan0 scan >/dev/null #use scan instead of sleep
iwconfig $DEV | grep -q "Access Point: Not-Associated"
[ $? -ne 0 ] && break
echo ".\c"
done
So, this will work for older kernel and well as 2.6.29-rc8.
Rafael, can we close the case? It's the iwconfig sequence that used to
work on 2.6.28-rc3 but now needs to be updated for 2.6.29-rc8.
Thanks,
Jeff.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists