Commit ad15305d authored by David S. Miller's avatar David S. Miller

Merge master.kernel.org:/home/acme/BK/x25-2.5

into nuts.ninka.net:/home/davem/src/BK/net-2.5
parents 0bc6a98d 5716f023
......@@ -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