diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/sdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ int sdr_close( sdr_t *sdr ) { if ( sdr->dongle != NULL ) { - if ( sdr->dongle->dev == NULL ) + if ( sdr->dongle->dev != NULL ) { hw_close( sdr->dongle->dev ); free( sdr->dongle->dev ); |