patch-2.4.22 linux-2.4.22/drivers/net/hamradio/mkiss.c

Next file: linux-2.4.22/drivers/net/ibm_emac/Config.in
Previous file: linux-2.4.22/drivers/net/gmac.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/drivers/net/hamradio/mkiss.c linux-2.4.22/drivers/net/hamradio/mkiss.c
@@ -330,6 +330,12 @@
 				return;
 			}
 			ax->rcount -= 2;
+                        /* dl9sau bugfix: the trailling two bytes flexnet crc
+                         * will not be passed to the kernel. thus we have
+                         * to correct the kissparm signature, because it
+                         * indicates a crc but there's none
+			 */
+                        *ax->rbuff &= ~0x20;
 		}
  	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)