From b9c2294d89deaeba6e33ec550b6bb162286e0c46 Mon Sep 17 00:00:00 2001 From: Stephane Fillod Date: Fri, 23 Dec 2011 00:58:08 +0100 Subject: [PATCH] transfox: fix set/get_freq by setting current vfo --- kenwood/transfox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kenwood/transfox.c b/kenwood/transfox.c index 5d68297e0..f9698d221 100644 --- a/kenwood/transfox.c +++ b/kenwood/transfox.c @@ -139,7 +139,7 @@ const struct rig_caps transfox_caps = { .priv = (void *)&transfox_priv_caps, .rig_init = kenwood_init, - .rig_cleanup = kenwood_cleanup, + .rig_cleanup = kenwood_cleanup, .rig_open = transfox_open, .set_freq = kenwood_set_freq, .get_freq = kenwood_get_freq, @@ -170,6 +170,8 @@ int transfox_open(RIG *rig) { rig_debug(RIG_DEBUG_TRACE, "%s called\n", __func__); + rig->state.current_vfo = RIG_VFO_A; + /* do not call kenwood_open(rig), rig has no "ID" command */ return RIG_OK;