]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: btqca: Use correct byte format for opcode of injected command
authorMatthias Kaehlcke <mka@chromium.org>
Mon, 8 Jul 2019 21:57:42 +0000 (14:57 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 12 Aug 2019 16:23:50 +0000 (18:23 +0200)
commitfff9c096a4c7af93fe3609e3e96869699fd2cc74
treec45330d0c1a81eb6c655c86cbdd2bfac094d0dd1
parent81d077de7875dfdfcf01078ad8633743def2273f
Bluetooth: btqca: Use correct byte format for opcode of injected command

The opcode of the command injected by commit bf93c784b753 ("Bluetooth:
btqca: inject command complete event during fw download") uses the CPU
byte format, however it should always be little endian. In practice it
shouldn't really matter, since all we need is an opcode != 0, but still
let's do things correctly and keep sparse happy.

Fixes: bf93c784b753 ("Bluetooth: btqca: inject command complete event during fw download")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btqca.c