staging: rtl8187se: Change panic to warn when RF switch turned off
commit86e2f6345053ce66ab9a4b735f3029d445eaed70
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 13 Nov 2010 19:01:56 +0000 (13 13:01 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 21 Mar 2011 19:44:10 +0000 (21 12:44 -0700)
tree86e0f35168f7403e2423440bd13a6ffae4e627a9
parent0c8089f2405e9b6876d4a767cecc9d804d9bb843
staging: rtl8187se: Change panic to warn when RF switch turned off

commit f36d83a8cb7224f45fdfa1129a616dff56479a09 upstream.

This driver issues a kernel panic over conditions that do not
justify such drastic action. Change these to log entries with
a stack dump.

This patch fixes the system crash reported in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/674285.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Reported-and-Tested-by: Robie Basik <rb-oss-3@justgohome.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/r8185b_init.c