Skip to content
Commit 20a831f0 authored by Jun Miao's avatar Jun Miao Committed by Marcel Holtmann
Browse files

Bluetooth: btusb: Fix a unspported condition to set available debug features

When reading the support debug features failed, there are not available
features init. Continue to set the debug features is illogical, we should
skip btintel_set_debug_features(), even if check it by "if (!features)".

Fixes: c453b10c

 ("Bluetooth: btusb: Configure Intel debug feature based on available support")
Signed-off-by: default avatarJun Miao <jun.miao@windriver.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 59da0b38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment