OSDN Git Service

monitor: Fix not decoding control frames
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 20 Apr 2017 12:01:45 +0000 (15:01 +0300)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 23 Apr 2017 20:14:24 +0000 (23:14 +0300)
commit657ca31b90a8b5a7509537f0ee76335f593d9de7
tree5f4e3312d827c2c9744ceacb88510b347c0ae1b9
parent9425f193640330ca523b0b602f6f87d87c9629e3
monitor: Fix not decoding control frames

In order to enable decoding control frames packet_monitor needs to check
if the index is set to HCI_DEV_NONE since that will call packet_ctrl_open
which setups the ctrl and assign it a cookie.
monitor/packet.c