From: Michael Buesch Date: Mon, 14 Sep 2009 21:22:08 +0000 (+0200) Subject: b43: Don't abuse wl->current_dev in the led work X-Git-Tag: v2.6.32-rc1~27^2~11^2~26 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e899a3f232125c393cdf7f7bf6533501ef8808fb;p=pandora-kernel.git b43: Don't abuse wl->current_dev in the led work Don't abuse wl->current_dev in the LED work for checking whether we're going down. Add an explicit variable. This fixes a crash on rmmod dereferencing the wl->current_dev NULL pointer in various other places of the driver. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville --- Reading git-diff-tree failed