llc_shdlc.c (4a61cd6687fc6348d08724676d34e38160d6cf9b) | llc_shdlc.c (412fda538f4b1317ecd0fbe6e5bc9124792bea88) |
---|---|
1/* 2 * shdlc Link Layer Control 3 * 4 * Copyright (C) 2012 Intel Corporation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 521 unchanged lines hidden (view full) --- 530 531 skb = skb_dequeue(&shdlc->send_q); 532 533 *skb_push(skb, 1) = SHDLC_CONTROL_HEAD_I | (shdlc->ns << 3) | 534 shdlc->nr; 535 536 pr_debug("Sending I-Frame %d, waiting to rcv %d\n", shdlc->ns, 537 shdlc->nr); | 1/* 2 * shdlc Link Layer Control 3 * 4 * Copyright (C) 2012 Intel Corporation. All rights reserved. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. --- 521 unchanged lines hidden (view full) --- 530 531 skb = skb_dequeue(&shdlc->send_q); 532 533 *skb_push(skb, 1) = SHDLC_CONTROL_HEAD_I | (shdlc->ns << 3) | 534 shdlc->nr; 535 536 pr_debug("Sending I-Frame %d, waiting to rcv %d\n", shdlc->ns, 537 shdlc->nr); |
538 /* SHDLC_DUMP_SKB("shdlc frame written", skb); */ | 538 SHDLC_DUMP_SKB("shdlc frame written", skb); |
539 540 r = shdlc->xmit_to_drv(shdlc->hdev, skb); 541 if (r < 0) { 542 shdlc->hard_fault = r; 543 break; 544 } 545 546 shdlc->ns = (shdlc->ns + 1) % 8; --- 288 unchanged lines hidden --- | 539 540 r = shdlc->xmit_to_drv(shdlc->hdev, skb); 541 if (r < 0) { 542 shdlc->hard_fault = r; 543 break; 544 } 545 546 shdlc->ns = (shdlc->ns + 1) % 8; --- 288 unchanged lines hidden --- |