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

Reply via email to