|
@@ -441,6 +441,7 @@ static int __init hp_wmi_bios_setup(struct platform_device *device)
|
|
bluetooth_rfkill->toggle_radio = hp_wmi_bluetooth_set;
|
|
bluetooth_rfkill->toggle_radio = hp_wmi_bluetooth_set;
|
|
bluetooth_rfkill->user_claim_unsupported = 1;
|
|
bluetooth_rfkill->user_claim_unsupported = 1;
|
|
err = rfkill_register(bluetooth_rfkill);
|
|
err = rfkill_register(bluetooth_rfkill);
|
|
|
|
+ if (err)
|
|
goto register_bluetooth_error;
|
|
goto register_bluetooth_error;
|
|
}
|
|
}
|
|
|
|
|