Re: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet length

2014-04-07 Thread Rafał Miłecki
2014-04-07 8:54 GMT+02:00 Nathan Hintz : > Hi Rafał: > >> From: zaj...@gmail.com >> To: ha...@hauke-m.de; openwrt-devel@lists.openwrt.org >> Date: Thu, 3 Apr 2014 19:26:48 +0200 >> Subject: [OpenWrt-Devel] [PATCH] kernel: bgmac

Re: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet length

2014-04-06 Thread Nathan Hintz
Hi Rafał: > From: zaj...@gmail.com > To: ha...@hauke-m.de; openwrt-devel@lists.openwrt.org > Date: Thu, 3 Apr 2014 19:26:48 +0200 > Subject: [OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet > length > > This bgmac pa

[OpenWrt-Devel] [PATCH] kernel: bgmac: rework patch checking packet length

2014-04-03 Thread Rafał Miłecki
This bgmac patch was an attempt to fix/workaround bug reported in https://dev.openwrt.org/ticket/7198 noticed on WNR3500L. Patch assumed length reported by the hardware was 0 and was trying to read it until getting a different value. This was actually the opposite. Lenghts were some invalid & huge