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-06 16:25:03 -0500 |
commit | 6ebbc4b470f07c87843eb43c2a5ca55b387583a5 (patch) | |
tree | 8af921d44dd8969b82e3a848f6755473b030c636 | |
parent | 47d61abc94a8c7140c3950329890d0f71f5714eb (diff) |
Fix scan start behavior in Kingfisher backendkoi_10.93.0koi_10.92.0koi_10.91.0koi/10.93.0koi/10.92.0koi/10.91.010.93.010.92.010.91.0
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
-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; |