Do not assert on received data.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Oct 2009 21:37:12 +0000 (21:37 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 9 Oct 2009 21:37:12 +0000 (21:37 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3051 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/net/ax25.c

index 32adf4ebbfe435c1f6635bf1001a97ab1e2ee342..d2c2639b105805a79385722277cdf4081cf6618e 100644 (file)
@@ -63,7 +63,6 @@ static void ax25_decode(AX25Ctx *ctx)
        uint8_t *buf = ctx->buf;
 
        DECODE_CALL(buf, msg.dst.call);
-       ASSERT(!(*buf & 0x01));
        msg.dst.ssid = (*buf++ >> 1) & 0x0F;
 
        DECODE_CALL(buf, msg.src.call);