Yes I am getting the following

r...@172.22.65.72:/home/raghu/HAL# iwlist wlan0 scan
__ratelimit: 12 callbacks suppressed
ath5k phy0: failed to warm reset the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to warm reset the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to warm reset the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to warm reset the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to warm reset the MAC Chip
ath5k phy0: can't reset hardware (-5)
wlan0     No scan results

Thanks & Regards,
Raghu Ramaraj

-----Original Message-----
From: ath5k-devel-boun...@lists.ath5k.org 
[mailto:ath5k-devel-boun...@lists.ath5k.org] On Behalf Of Joerg Pommnitz
Sent: Monday, April 12, 2010 2:51 PM
To: ath5k-devel@lists.ath5k.org
Subject: Re: [ath5k-devel] ath5k phy0: failed to warm reset the MAC Chip

Raghu Ramaraj <raghu_rama...@...> writes:

>
>
> Hi
>         This is the one right...

Yes, this is the patch I meant.

> --- wireless-testing/drivers/net/wireless/ath/ath5k/base.c      2010-03-19
09:55:26.000000000 +0100
> +++ ../wireless-testing/drivers/net/wireless/ath/ath5k/base.c   2010-03-19
09:30:23.000000000 +0100
> @@ -2894,7 +2894,12 @@
>  {
>         int ret;
>
> -       ret = ath5k_reset(sc, sc->curchan);
> +       if ((ret = ath5k_reset(sc, sc->curchan)) != 0) {
> +         int ret2 = ath5k_reset(sc, sc->curchan);
> +         ATH5K_DBG(sc, ATH5K_DEBUG_ANY, "ath5k_reset failed with %d, retry
was %d\n", ret, ret2);
> +         ret = ret2;
> +       }
> +
>         if (!ret)
>                 ieee80211_wake_queues(sc->hw);
>
> I have tried this also ... I am getting the error...

What error? Still the original one ("failed to warm reset the MAC Chip") or the
new debug statement ("ath5k_reset failed with %d, retry was %d")?

Regards
  Joerg

_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

http://www.mindtree.com/email/disclaimer.html
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to