IrLAP address fix
PATCH 1/1 IrLAP address fix
ir257_caddr_mask.diff :
<Patch from Jan Kiszka>
o [CORRECT] ignore the C/R bit in the LAP connection address.
net/irda/irlap_frame.c renamed from net/irda/irlap_frame.d0.c +2 -2
@@ -162,8 +162,8 @@ static void irlap_recv_snrm_cmd(struct i 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 )) {