On 07/22/2011 06:07 PM, Pavel Roskin wrote:
wldev is freed in b43_one_core_detach() and should not be accessed after that call. Keep wldev->dev in a local variable. Signed-off-by: Pavel Roskin<proski@xxxxxxx> --- Linux 3.0 is not affected. The bug was introduced in 482f0538.
P.S. This needs to be propagated to Linux 3.1.
- b43_one_core_detach(wldev->dev); + b43_one_core_detach(dev);
As a long term solution, we probably want a function that takes wldev and has "free" in its name, so that the effect is clear.
-- Regards, Pavel Roskin -- 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