diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-12-06 16:25:03 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-12-09 07:52:56 +0000 |
commit | 2a4a70d614a84c7205fab87f4de51e5ed12200e8 (patch) | |
tree | 44e658b73bc79d526f47de59a26b3124ce7a54e5 /binding | |
parent | 52f4599b444d13fc1e8ae48f423aaaedcbad3ae0 (diff) |
Fix scan start behavior in Kingfisher backendjellyfish_10.0.3jellyfish_10.0.2jellyfish/10.0.3jellyfish/10.0.210.0.310.0.2jellyfish
Add missing check for playing status in Kingfisher backend
"scan_start" function.
Bug-AGL: SPEC-3716
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I74a9221b6d2a89a052009a279dd74166569d4766
Diffstat (limited to 'binding')
-rw-r--r-- | binding/radio_impl_kingfisher.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binding/radio_impl_kingfisher.c b/binding/radio_impl_kingfisher.c index b7d243b..92abb11 100644 --- a/binding/radio_impl_kingfisher.c +++ b/binding/radio_impl_kingfisher.c @@ -433,7 +433,7 @@ static void kf_scan_start(radio_scan_direction_t direction, if(!initialized) return; - if(scanning) + if(!running || scanning) return; scanning = true; |