From: Johan Hedberg Date: Thu, 15 Jan 2015 11:06:44 +0000 (+0200) Subject: Bluetooth: Add helpers for src/dst bdaddr type conversion X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~134^2~184^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a250e048a7fb32c04366e3ed17707aa2be627f8a;p=pandora-kernel.git Bluetooth: Add helpers for src/dst bdaddr type conversion The current bdaddr_type() usage in l2cap_core.c is a bit funny in that it's always passed a hci_conn + a hci_conn member. Because of this only the hci_conn is really needed. Since the second parameter is always either hcon->src_type or hcon->dst type this patch adds two helper functions for each purpose: bdaddr_src_type() and bdaddr_dst_type(). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed