[PATCH openEuler-5.10 84/89] Bluetooth: Fix passing NULL to PTR_ERR