FROMLIST: Bluetooth: Ignore cmd_timeout with HCI_USER_CHANNEL

When using HCI_USER_CHANNEL, hci traffic is expected to be handled by
userspace entirely. However, it is still possible (and sometimes
desirable) to be able to send commands to the controller directly. In
such cases, the kernel command timeout shouldn't do any error handling.

Signed-off-by: Abhishek Pandit-Subedi <abhishekpandit@chromium.org>
(am from https://patchwork.kernel.org/patch/12938973/)
(also found at https://lore.kernel.org/r/20220808110315.1.I5a39052e33f6f3c7406f53b0304a32ccf9f340fa@changeid)

BUG=b:233764522
TEST=run `hcitool cmd 4 1` while stack is running

Change-Id: I5a39052e33f6f3c7406f53b0304a32ccf9f340fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3831732
Commit-Queue: Abhishek Pandit-Subedi <abhishekpandit@google.com>
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Reviewed-by: Sean Paul <sean@poorly.run>
Reviewed-by: Katherine Lai <laikatherine@chromium.org>
Tested-by: Abhishek Pandit-Subedi <abhishekpandit@google.com>
1 file changed