Vern wrote:
Anyway, this version of the patch - attached as endian8.patch.gz - does those operations now. Could you give it a try?
Failed to build:
asjo@gnalle:/usr/src/source/rt2570/Module$ make debug
make[1]: Entering directory `/usr/src/linux-headers-2.6.18-5-powerpc'
CC [M] /usr/src/source/rt2570/Module/rtusb_main.o
CC [M] /usr/src/source/rt2570/Module/mlme.o
CC [M] /usr/src/source/rt2570/Module/rtusb_bulk.o
CC [M] /usr/src/source/rt2570/Module/connect.o
CC [M] /usr/src/source/rt2570/Module/sync.o
CC [M] /usr/src/source/rt2570/Module/rtusb_init.o
CC [M] /usr/src/source/rt2570/Module/rtmp_tkip.o
CC [M] /usr/src/source/rt2570/Module/wpa.o
CC [M] /usr/src/source/rt2570/Module/rtmp_wep.o
CC [M] /usr/src/source/rt2570/Module/rtusb_info.o
CC [M] /usr/src/source/rt2570/Module/assoc.o
/usr/src/source/rt2570/Module/assoc.c: In function â:
/usr/src/source/rt2570/Module/assoc.c:315: error: â undeclared (first use in this function)
/usr/src/source/rt2570/Module/assoc.c:315: error: (Each undeclared identifier is reported only once
/usr/src/source/rt2570/Module/assoc.c:315: error: for each function it appears in.)
make[2]: *** [/usr/src/source/rt2570/Module/assoc.o] Error 1
make[1]: *** [_module_/usr/src/source/rt2570/Module] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.18-5-powerpc'
rt2570.ko failed to build!
make: *** [debug] Error 1
I think I've had this error before, but forgot the fix...
Ah, just a typo:
--- assoc.c.orig 2007-12-11 19:40:42.589014026 +0100
+++ assoc.c 2007-12-11 19:38:57.609994572 +0100
@@ -312,7 +312,7 @@
MgtMacHeaderInit(pAd, &AssocHdr, SUBTYPE_ASSOC_REQ, 0, &ApAddr, &ApAddr);
// Build basic frame first
- cpu_to_le16s(&CapablityInfo);
+ cpu_to_le16s(&CapabilityInfo);
cpu_to_le16s(&ListenIntv);
MakeOutgoingFrame(
OutBuffer, &FrameLen,
Log in a minute.
Attached is the log. Please note that my accesspoint (for legacy reasons) does not use WEP nor WPA. A lot of my neighbours have accesspoints with encryption turned on.
Best regards, Adam.