Commit b9573ffd authored by Andrew Morton's avatar Andrew Morton Committed by David S. Miller

[X25]: Dont log unknown frame type when receiving clear confirm

From: Andrew Hendry <ahendry@tusc.com.au>

There is no need to log unknown
parent 32d6aa79
......@@ -92,7 +92,9 @@ static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb)
/*
x25_transmit_clear_request(nb, lci, 0x0D);
*/
printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype);
if (frametype != X25_CLEAR_CONFIRMATION)
printk(KERN_DEBUG "x25_receive_data(): unknown frame type %2x\n",frametype);
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment