Bluetooth: Restrict HIDP flags to only valid ones
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 1 Apr 2015 20:51:53 +0000 (13:51 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 05:43:11 +0000 (08:43 +0300)
commit5f5da99f1da5b01c7c45473a500c7dbb77a00958
treed13a71ede7e5d4d2b84da3917d08fedfd7f7fb33
parent8bf17a3619250944957c732e71659787528131c3
Bluetooth: Restrict HIDP flags to only valid ones

The HIDP flags should be clearly restricted to valid ones. So this puts
extra checks in place to ensure this.

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