summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/cell.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/cell.c')
-rw-r--r--fw/fe310/eos/cell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/cell.c b/fw/fe310/eos/cell.c
index 2421f4b..4b4fcc0 100644
--- a/fw/fe310/eos/cell.c
+++ b/fw/fe310/eos/cell.c
@@ -19,7 +19,7 @@ static void cell_handle_evt(unsigned char type, unsigned char *buffer, uint16_t
unsigned char idx = (mtype & EOS_CELL_MTYPE_MASK) >> 4;
if (idx < EOS_CELL_MAX_MTYPE) {
- evt_handler[idx](type, buffer, len);
+ evt_handler[idx](mtype & ~EOS_CELL_MTYPE_MASK, buffer, len);
} else {
eos_net_bad_handler(type, buffer, len);
}