diff options
| author | Johan Hedberg <[email protected]> | 2013-12-12 09:53:21 +0200 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2013-12-11 23:59:21 -0800 |
| commit | 30d3db44bb337321b25344eea3ed6a64ee16fcc8 (patch) | |
| tree | 7ae26e0b386cec6716fde50428404e4258905312 /tools/perf/scripts/python | |
| parent | d0746f3ecc884a5b044d92d463f0e2ec1507fc78 (diff) | |
Bluetooth: Fix test for lookup_dev return value
The condition wouldn't have previously caused -ENOENT to be returned if
dev was NULL. The proper condition should be if (!dev || !dev->netdev).
Signed-off-by: Johan Hedberg <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions