Bluetooth: Restrict CMTP flags to only valid ones
authorMarcel Holtmann <[email protected]>
Wed, 1 Apr 2015 20:51:52 +0000 (13:51 -0700)
committerJohan Hedberg <[email protected]>
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 <[email protected]>
Signed-off-by: Johan Hedberg <[email protected]>
net/bluetooth/cmtp/core.c