diff options
Diffstat (limited to 'usrp2/firmware/lib/db_init_wbx.c')
-rw-r--r-- | usrp2/firmware/lib/db_init_wbx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usrp2/firmware/lib/db_init_wbx.c b/usrp2/firmware/lib/db_init_wbx.c index f396423c0..8810e0d4d 100644 --- a/usrp2/firmware/lib/db_init_wbx.c +++ b/usrp2/firmware/lib/db_init_wbx.c @@ -399,5 +399,6 @@ db_set_gain(struct db_base *db, u2_fxpt_gain_t gain) bool db_set_antenna(struct db_base *db, int ant) { + if (db->set_antenna == 0) return false; return db->set_antenna(db, ant); } |