Commit 5716f023 authored by Arnaldo Carvalho de Melo's avatar Arnaldo Carvalho de Melo Committed by David S. Miller

[X25] fix thinko in x25_facilities

parent a85122a7
......@@ -151,7 +151,7 @@ int x25_create_facilities(unsigned char *buffer,
*p++ = facilities->pacsize_out ? : facilities->pacsize_in;
}
if (facilities->winsize_in || facilities->winsize_out &&
if ((facilities->winsize_in || facilities->winsize_out) &&
(facil_mask & X25_MASK_WINDOW_SIZE)) {
*p++ = X25_FAC_WINDOW_SIZE;
*p++ = facilities->winsize_in ? : facilities->winsize_out;
......
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