Re: [PATCH 06/14] staging: rtl8192u: improve error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 05, 2010 at 10:32:41PM +0400, Kulikov Vasiliy wrote:
> +fail2:
> +	rtl8192_down(dev);
> +	if (priv->pFirmware) {
> +		kfree(priv->pFirmware);
> +		priv->pFirmware = NULL;
> +	}
> +	rtl8192_usb_deleteendpoints(dev);
> +	destroy_workqueue(priv->priv_wq);
> +	mdelay(10);

What's this delay for?

regards,
dan carpenter

>  fail:
>  	free_ieee80211(dev);

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux