From: Stefano Brivio Date: Tue, 6 Nov 2007 21:48:45 +0000 (+0100) Subject: b43legacy: rewrite and fix rfkill initialization X-Git-Tag: v2.6.25-rc1~1162^2~563 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db9683fb19a0f0da1cb4c296ffe1a8db03333cbc;p=pandora-kernel.git b43legacy: rewrite and fix rfkill initialization The rfkill subsystem doesn't like code like that rfkill_allocate(); rfkill_register(); rfkill_unregister(); rfkill_register(); /* <- This will crash */ This sequence happens with modprobe b43 ifconfig wlanX up ifconfig wlanX down ifconfig wlanX up Fix this by always re-allocating the rfkill stuff before register. The patch to b43 by Michael Buesch has been ported to b43legacy. Signed-off-by: Stefano Brivio Signed-off-by: John W. Linville --- Reading git-diff-tree failed