Bluetooth: Restrict CMTP flags to only valid ones
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 1 Apr 2015 20:51:52 +0000 (13:51 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 05:42:21 +0000 (08:42 +0300)
commit8bf17a3619250944957c732e71659787528131c3
tree947aa3ed5b5975067446f1cc5f9b3f30de79e889
parent41533fe5b4f92adb3c40f263b889dc6addff550e
Bluetooth: Restrict CMTP flags to only valid ones

The CMTP 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/cmtp/core.c