Re: problems with 05-16


From: David Levitan (david_at_dlevitan.com)
Date: 2002-05-19 16:44:58 UTC



Yep, that might be a problem :). Latest version works well. Thanks for the quick fix.
-David

Jouni Malinen wrote:
> On Sat, May 18, 2002 at 07:42:56PM -0400, David Levitan wrote:
>
>

>>I'm having problems with 05-16 version of hostap_cs. The previous 
>>version (05-02) works well.

>
>
>>Everything worked fine before I installed 05-16. With 05-16, pings go 
>>through without a problem (including a flood ping - 0% packet loss for 
>>~100,000 packets). TCP connections also open, but no data transfer can 
>>happen.

>
>
> Try pinging with packets having odd length.. ;-)
>
> Doh.. I managed to break sending and receiving of packets with odd
> length again. Though, this time only with hostap_cs.o and
> hostap_plx.o, and of course I did most testing with hostap_pci.o.
>
> Following patch should fix this:
>
>
> diff -u -u -p -r1.165 prism2.c
> --- driver/modules/prism2.c 18 May 2002 19:33:01 -0000 1.165
> +++ driver/modules/prism2.c 19 May 2002 06:16:51 -0000
> @@ -471,7 +471,7 @@ int hfa384x_from_bap(struct net_device *
> #else /* PRISM2_PCI */
> if (len / 2)
> HFA384X_INSW(d_off, buf, len / 2);
> - pos += len;
> + pos += len / 2;
> #endif /* PRISM2_PCI */
>
> if (len & 1)
> @@ -495,7 +495,7 @@ int hfa384x_to_bap(struct net_device *de
> #else /* PRISM2_PCI */
> if (len / 2)
> HFA384X_OUTSW(d_off, buf, len / 2);
> - pos += len;
> + pos += len / 2;
> #endif /* PRISM2_PCI */
>
> if (len & 1)
>
>


This archive was generated by hypermail 2.1.4.