Bluetooth: Fix issue with missing management event opcode
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 22 Feb 2014 05:35:30 +0000 (21:35 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 22 Feb 2014 07:23:19 +0000 (09:23 +0200)
The event opcode for New Identity Resolving Key event is missing from
supported event list. Just add it there.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c

index 12fa639..bc329d9 100644 (file)
@@ -106,6 +106,7 @@ static const u16 mgmt_events[] = {
        MGMT_EV_DEVICE_UNBLOCKED,
        MGMT_EV_DEVICE_UNPAIRED,
        MGMT_EV_PASSKEY_NOTIFY,
+       MGMT_EV_NEW_IRK,
 };
 
 #define CACHE_TIMEOUT  msecs_to_jiffies(2 * 1000)