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>
Tue, 16 Nov 2010 20:25:53 +0000 (12:25 -0800)
commitf36d83a8cb7224f45fdfa1129a616dff56479a09
treea664839d8a66a008d187ad9f29425c7193cdaf65
parent61838261edaf621d1e8ee4ea9d7c052f7d783ca4
staging: rtl8187se: Change panic to warn when RF switch turned off

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>
Cc: Stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8187se/r8185b_init.c