From: Marcel Holtmann Date: Sun, 6 Oct 2013 10:17:56 +0000 (-0700) Subject: Bluetooth: Set LE advertising parameters before enabling it X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~114 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4faf30096c3deb618392a88feaa7674cd55c257;p=pandora-kernel.git Bluetooth: Set LE advertising parameters before enabling it The LE advertising parameters can only be modified when advertising is disabled. So before enabling it, make sure the controller has all the right parameters. Right now all default values are used and thus this does no change any existing behavior. One minor exception is that in case of single mode LE-only controllers without a public address, now the random address is used for advertising. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed