From: Claudio Takahasi Date: Tue, 7 Jan 2014 12:07:47 +0000 (-0300) Subject: Bluetooth: Fix setting Universal/Local bit X-Git-Tag: v3.14-rc1~94^2~238^2^2~22^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b071a620995def138bf5f5da8440d93bde4171d3;p=pandora-kernel.git Bluetooth: Fix setting Universal/Local bit This patch fixes the Bluetooth Low Energy Address type checking when setting Universal/Local bit for the 6loWPAN network device or for the peer device connection. ADDR_LE_DEV_PUBLIC or ADDR_LE_DEV_RANDOM are the values allowed for "src_type" and "dst_type" in the hci_conn struct. The Bluetooth link type can be obtainned reading the "type" field in the same struct. Signed-off-by: Claudio Takahasi Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed