From: Marcel Holtmann Date: Fri, 17 Apr 2015 20:34:18 +0000 (+0200) Subject: Bluetooth: hidp: Fix regression with older userspace and flags validation X-Git-Tag: omap-for-v4.1/fixes-rc1~102 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1f5014d6a77513fa7cefe30eb7791d5856c04384;p=pandora-kernel.git Bluetooth: hidp: Fix regression with older userspace and flags validation While it is not used by newer userspace anymore, the older userspace was utilizing HIDP_VIRTUAL_CABLE_UNPLUG and HIDP_BOOT_PROTOCOL_MODE flags when adding a new HIDP connection. The flags validation is important, but we can not break older userspace and with that allow providing these flags even if newer userspace does not use them anymore. Reported-and-tested-by: Jörg Otte Signed-off-by: Marcel Holtmann Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed