staging: rtl8187se: Change panic to warn when RF switch turned off
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 13 Nov 2010 19:01:56 +0000 (13:01 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:27:04 +0000 (13:27 -0800)
commit94e805453c862135b9d8b8ad31eeddc62ffb1683
tree2366d13f92df93caf547298fd2a196fa4a4e23f0
parent2b9e50d0460818638a84ee1ba267b765098e1808
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