From: Johan Hedberg Date: Wed, 9 Jan 2013 13:29:36 +0000 (+0200) Subject: Bluetooth: Fix accepting set_dev_class for non-BR/EDR controllers X-Git-Tag: v3.9-rc1~139^2~2^2^2~42^2~49^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee98f4738050bb93823ce9ba849f5d78f5b8c1a1;p=pandora-kernel.git Bluetooth: Fix accepting set_dev_class for non-BR/EDR controllers The concept of Class of Device only exists for BR/EDR controllers. The mgmt_set_dev_class command should therefore return a proper "not supported" error if it is attempted for a controller that doesn't support BR/EDR (e.g. a single mode LE-only one). Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed