]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: mgmt: Don't allow to set invalid value to DeviceID source
authorSzymon Janc <szymon.janc@tieto.com>
Fri, 16 Mar 2012 15:02:57 +0000 (16:02 +0100)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:33 +0000 (00:41 -0300)
commit9686a650d6b28b74d4f71a2ace7628c90155bc99
tree2abcb1d54309248e09dae928570d118691f15974
parentfb17c461aaa7e6ed992b3f0a8f048360343060c4
Bluetooth: mgmt: Don't allow to set invalid value to DeviceID source

Reply with MGMT_STATUS_INVALID_PARAMS when userspace is trying to set
source with out-of-scope value.

Signed-off-by: Szymon Janc <szymon.janc@tieto.com>
Acked-by: Gustavo Padovan <gustavo@padovan.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/mgmt.c