That may work, but I think it would be simpler to do this next to the
kzalloc() before we do the wilc->vif[i]->hif_drv = hif_drv; assignment.
regards,
dan carpenter
___
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.
Move the initialization of the config values so that an uninit'd
mutex is not exposed and to simplify the initialization process.
The code was allocating a structure with a lock, initializing and
taking the lock, setting some values, and then releasing the
lock. If no other thread can get it, the