/* History X.25 001 Jonathan Naylor Started coding. X.25 002 Jonathan Naylor New timer architecture.  Henner Eisen Prevented x25_output() skb leakage.  Henner Eisen MSG_DONTWAIT for fragment allocation.  Henner Eisen x25_send_iframe(): re-queued frames needed cleaned seq-number fields.  */
static int x25_pacsize_to_bytes(unsigned int pacsize)
/* History X.25 001 Jonathan Naylor Started coding. X.25 002 Jonathan Naylor New timer architecture.  Henner Eisen Prevented x25_output() skb leakage.  Henner Eisen MSG_DONTWAIT for fragment allocation.  Henner Eisen x25_send_iframe(): re-queued frames needed cleaned seq-number fields.  */
static int x25_pacsize_to_bytes(unsigned int pacsize)
{
	int bytes = 1;
	if (!pacsize)
		return 128;
	while (pacsize-- > 0)
		bytes *= 2;
	return bytes;
}