From: Johan Hedberg Date: Thu, 12 Dec 2013 07:53:21 +0000 (+0200) Subject: Bluetooth: Fix test for lookup_dev return value X-Git-Tag: v3.14-rc1~94^2~238^2^2~22^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30d3db44bb337321b25344eea3ed6a64ee16fcc8;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed