patch-2.4.22 linux-2.4.22/net/irda/irlap_frame.c
Next file: linux-2.4.22/net/irda/irlmp_event.c
Previous file: linux-2.4.22/net/irda/irlap_event.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/net/irda/irlap_frame.c
- Orig date:
2002-08-02 17:39:46.000000000 -0700
diff -urN linux-2.4.21/net/irda/irlap_frame.c linux-2.4.22/net/irda/irlap_frame.c
@@ -162,8 +162,8 @@
frame = (struct snrm_frame *) skb->data;
if (skb->len >= sizeof(struct snrm_frame)) {
- /* Copy the new connection address */
- info->caddr = frame->ncaddr;
+ /* Copy the new connection address ignoring the C/R bit */
+ info->caddr = frame->ncaddr & 0xFE;
/* Check if the new connection address is valid */
if ((info->caddr == 0x00) || (info->caddr == 0xfe)) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)