From: Marcel Holtmann Date: Sun, 13 Oct 2013 19:55:29 +0000 (-0700) Subject: Bluetooth: Provide msg_name callback for L2CAP connectionless channels X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2edf870d198adeb43d5a2a5ddfa7e3cea4fc999b;p=pandora-kernel.git Bluetooth: Provide msg_name callback for L2CAP connectionless channels The L2CAP connectionless channels use SOCK_DGRAM and recvmsg() and need to receive the remote BD_ADDR and PSM information via msg_name from the recvmsg() system call. So in case the L2CAP socket is for connectionless channels, provide a msg_name callback that can update the data. Also store the remote BD_ADDR and PSM in the skb so it can be extracted later on. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed