From: Johan Hedberg Date: Fri, 4 Jul 2014 09:37:23 +0000 (+0300) Subject: Bluetooth: Fix clearing and restarting all LE actions on power cycle X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7347f3cc2b63be0ea35b3239faf4b32fde2fb44;p=pandora-kernel.git Bluetooth: Fix clearing and restarting all LE actions on power cycle When powering off (hci_dev_do_close) we should clear both the pend_le_reports and pend_le_conns types of entries. When powering on respectively we should populate both lists. This patch converts the hci_pend_le_conns_clear() function into hci_pend_le_actions_clear() (which can now be static) and converts the restart_le_auto_conns() function into restart_le_actions(). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed