summaryrefslogtreecommitdiffstats
path: root/binding/radio_impl_kingfisher.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/radio_impl_kingfisher.c')
-rw-r--r--binding/radio_impl_kingfisher.c2
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;