diff options
Diffstat (limited to 'net/x25/x25_subr.c')
-rw-r--r-- | net/x25/x25_subr.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/x25/x25_subr.c b/net/x25/x25_subr.c index 511a5986af3e..352b32d216fc 100644 --- a/net/x25/x25_subr.c +++ b/net/x25/x25_subr.c | |||
@@ -225,6 +225,12 @@ void x25_write_internal(struct sock *sk, int frametype) | |||
225 | break; | 225 | break; |
226 | 226 | ||
227 | case X25_CLEAR_REQUEST: | 227 | case X25_CLEAR_REQUEST: |
228 | dptr = skb_put(skb, 3); | ||
229 | *dptr++ = frametype; | ||
230 | *dptr++ = x25->causediag.cause; | ||
231 | *dptr++ = x25->causediag.diagnostic; | ||
232 | break; | ||
233 | |||
228 | case X25_RESET_REQUEST: | 234 | case X25_RESET_REQUEST: |
229 | dptr = skb_put(skb, 3); | 235 | dptr = skb_put(skb, 3); |
230 | *dptr++ = frametype; | 236 | *dptr++ = frametype; |