aboutsummaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2009-08-06 15:57:51 -0700
committerLen Brown <[email protected]>2009-08-28 15:17:07 -0400
commit82e7784f57a81faf673b09bc468e736d582fe754 (patch)
treeb2869be47566c2aca2aa65fc825b2e637ced85fc /lib/flex_array.c
parentb0de22bdffa2e9a8e280d769c59f866605268484 (diff)
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 <[email protected]> Cc: John W. Linville <[email protected]> Cc: Johannes Berg <[email protected]> Cc: Henrique de Moraes Holschuh <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Len Brown <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions