From: Jiri Slaby Date: Thu, 6 Aug 2009 22:57:51 +0000 (-0700) Subject: toshiba_acpi: return on a fail path X-Git-Tag: v2.6.31-rc9~33^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82e7784f57a81faf673b09bc468e736d582fe754;p=pandora-kernel.git toshiba_acpi: return on a fail path Return from bt_rfkill_poll() when hci_get_radio_state() fails. value is invalid in that case and should not be assigned to the rfkill state. This also fixes a double unlock bug. Signed-off-by: Jiri Slaby Cc: John W. Linville Cc: Johannes Berg Cc: Henrique de Moraes Holschuh Signed-off-by: Andrew Morton Signed-off-by: Len Brown --- Reading git-diff-tree failed