Re: [PATCH] net/wireless/libertas: do not call wiphy_unregister() w/o wiphy_register()

From: Holger Schurig
Date: Tue Mar 30 2010 - 02:48:12 EST


> The libertas driver calls wiphy_unregister() without a prior
> wiphy_register() when a devices fails initialization. Fix this by
> introducing a private flag.

Nice.

However, I wonder: do we really need a private variable? Does each driver
introduce a private variable for this?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/