From: Michael Buesch Date: Sat, 3 Nov 2007 13:34:32 +0000 (+0100) Subject: b43: Rewrite and fix rfkill init X-Git-Tag: v2.6.24-rc3~163^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35c7e6602b81bdacb745f04236a419402777139e;p=pandora-kernel.git b43: Rewrite and fix rfkill init 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. Signed-off-by: Michael Buesch Signed-off-by: John W. Linville --- Reading git-diff-tree failed