From: Marcel Holtmann Date: Thu, 10 Oct 2013 16:47:55 +0000 (-0700) Subject: Bluetooth: Use hci_conn_num() instead of direct connection hash access X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~84 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=014f7bc78738d86e156635d5ac239e199573df66;p=pandora-kernel.git Bluetooth: Use hci_conn_num() instead of direct connection hash access When changing the alternate setting for the ISOC endpoints, use the hci_conn_num() helper function to count currently established SCO and eSCO connections and store the the value. This avoids direct access to the connection hash. In addition use the stored value instead accessing the connection hash over and over again. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed