> From: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> > > alloc_orinocodev() would allocate the wiphy entry, but it would only get > registered much later in orinoco_init(). If something failed in the init > process inbetween the call to alloc_orinocodev() and the completion > of orinoco_init(), the drivers would end up calling wiphy_unregister() > with a NULL pointer causing beautiful OOPS fireworks. > > Explicitly call wiphy_unregister() instead in the right places. > > Signed-off-by: Jes Sorensen <Jes.Sorensen@xxxxxxxxxx> Thanks, applied to wireless-drivers-next.git. Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html