diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-04-26 21:33:26 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2010-04-28 10:17:04 +0200 |
commit | 2afc002e1255f711325abc44e1d670d32a8b25a6 (patch) | |
tree | 197c86a92caad3e9859d575c7786c4a37a4e0d03 /src/target/firmware/layer1/l23_api.c | |
parent | afc0ee79c466f74194c19770489d01ce1370f9da (diff) |
fw/layer1: Encapsulate mframe scheduler function better
There was some code meddling with mf_tasks directly. This is
fine if it's just setting/clearing a bit but since we're
gonna need some 'cleverness' into when to activate what to prevent
conflict, it's better to abstract that logic.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/layer1/l23_api.c')
-rw-r--r-- | src/target/firmware/layer1/l23_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/layer1/l23_api.c b/src/target/firmware/layer1/l23_api.c index e54d72bd..fec6183e 100644 --- a/src/target/firmware/layer1/l23_api.c +++ b/src/target/firmware/layer1/l23_api.c @@ -204,7 +204,7 @@ static void l1a_l23_rx_cb(uint8_t dlci, struct msgb *msg) } /* FIXME: set TSC of ded chan according to est_req.h0.tsc */ /* figure out which MF tasks to enable */ - l1s.mf_tasks = (1 << chan_nr2mf_task(ul->chan_nr)); + l1a_mftask_set(1 << chan_nr2mf_task(ul->chan_nr)); break; case L1CTL_RACH_REQ: rach_req = (struct l1ctl_rach_req *) ul->payload; |