Bluetooth: Restrict BNEP flags to only valid ones
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 1 Apr 2015 20:51:54 +0000 (13:51 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 2 Apr 2015 05:44:02 +0000 (08:44 +0300)
commit0151e426b150db17992b49fa9ce96b79dace2aed
tree572059f3f21b9a4b794d79705d8f7de00d8378c1
parent5f5da99f1da5b01c7c45473a500c7dbb77a00958
Bluetooth: Restrict BNEP flags to only valid ones

The BNEP 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/bnep/core.c