diff --git a/drivers/dahdi/xpp/card_global.c b/drivers/dahdi/xpp/card_global.c index 3828c49..809ee76 100644 --- a/drivers/dahdi/xpp/card_global.c +++ b/drivers/dahdi/xpp/card_global.c @@ -696,13 +696,7 @@ HANDLER_DEF(GLOBAL, REGISTER_REPLY) "REGISTER_REPLY: missing card_register_reply()\n"); return -EINVAL; } - switch (reg->h.bytes) { - case REG_CMD_SIZE(REG): - case REG_CMD_SIZE(RAM): - return CALL_XMETHOD(card_register_reply, xpd, reg); - } - XPD_ERR(xpd, "REGISTER_REPLY: bad packet_len=%d\n", pack->head.packet_len); - return -EINVAL; + return CALL_XMETHOD(card_register_reply, xpd, reg); } HANDLER_DEF(GLOBAL, SYNC_REPLY)