bluez-hfp: Ensure that process_next isn't called twice
When the profile list are parsed process_next is called. It is also caled when the pairing is terminated. When only one profile was discovered, the only task in process_q would be popped at first process_next() call. The second call would find an empty process_q and quit the mainloop without executing the test. This patch arrange the pairing and non pairing tests so they are symmetrical. The call to tester.get_device is synchronous. Reviewed-by:Philip Withnall <philip.withnall@collabora.co.uk> Signed-off-by:
Frédéric Dalleau <frederic.dalleau@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D4561
Please register or sign in to comment