From: Johan Hedberg Date: Fri, 19 Dec 2014 20:26:00 +0000 (+0200) Subject: Bluetooth: Add hci_request support for hci_update_background_scan X-Git-Tag: fixes-v4.0-rc1~150^2~303^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cf22218b00f46f93b39a9355b830e9e8e4fd077;p=pandora-kernel.git Bluetooth: Add hci_request support for hci_update_background_scan Many places using hci_update_background_scan() try to synchronize whatever they're doing with the help of hci_request callbacks. However, since the hci_update_background_scan() function hasn't so far accepted a hci_request pointer any commands triggered by it have been left out by the synchronization. This patch modifies the API in a similar way as was done for hci_update_page_scan, i.e. there's a variant that takes a hci_request and another one that takes a hci_dev. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed