label in hostap_hw.c

da.silva at free.fr da.silva
Sun Oct 27 13:47:57 PST 2002


to prevent a warming (Redhat 8.0) with the label "ou:" is it possible to 
replace in hostap/driver/modules/hostap_hw.c :

--before----------------
                        goto out;
                }

                idx++;
                if (idx >= PRISM2_TXFID_COUNT)
                        idx = 0;
        } while (idx != local->next_alloc);

        printk(KERN_WARNING "%s: could not find matching txfid (0x%04x) for "
               "alloc event\n", dev->name, HFA384X_INW(HFA384X_ALLOCFID_OFF));

 out:
}
------------------------

--after----------------
                        return;
                }

                idx++;
                if (idx >= PRISM2_TXFID_COUNT)
                        idx = 0;
        } while (idx != local->next_alloc);

        printk(KERN_WARNING "%s: could not find matching txfid (0x%04x) for "
               "alloc event\n", dev->name, HFA384X_INW(HFA384X_ALLOCFID_OFF));

}
------------------------

Thanks.




More information about the Hostap mailing list