commit | 432df05eb1e57adfc46df08abbedca6c3b8862f7 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Fri Aug 01 11:13:31 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Thu Aug 14 08:49:09 2014 +0200 |
tree | 6276d323291420ffc274f64c7f2ab13987b8c79d | |
parent | 84c61d92bb6e9048eecc0738a83f1bf66f053026 [diff] |
Bluetooth: Create unified helper function for updating page scan Similar to our hci_update_background_scan() function we can simplify a lot of code by creating a unified helper function for doing page scan updates. This patch adds such a function to hci_core.c and updates all the relevant places to use it. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>