aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorMarcel Holtmann <[email protected]>2013-08-26 09:29:39 -0700
committerGustavo Padovan <[email protected]>2013-09-16 14:35:55 -0300
commitc2371e80b3d0d11df10579a39cdad3310c944325 (patch)
tree4c6128cf06f45de22b2659f7963256ebd37cb8c1 /tools/perf/scripts/python/net_dropmonitor.py
parent808a049e2618bb535274aa41bf954232abc44bf5 (diff)
Bluetooth: Fix error handling for HCI socket options
The HCI sockets for monitor and control do not support any HCI specific socket options and if tried, an error will be returned. However the error used is EINVAL and that is not really descriptive. To make it clear that these sockets are not handling HCI socket options, return EBADFD instead. Signed-off-by: Marcel Holtmann <[email protected]> Signed-off-by: Gustavo Padovan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions