1 This are some fixes for real bugs that I had with the driver in my
5 # Patch managed by http://www.holgerschurig.de/patcher.html
8 --- wlags/wl_wext.c~bugs
10 @@ -3811,9 +3811,11 @@
11 /* NOTE: Format of MAC address (using colons to seperate bytes) may cause
12 a problem in future versions of the supplicant, if they ever
13 actually parse these parameters */
15 sprintf( msg, "MLME-MICHAELMICFAILURE.indication(keyid=%d %scast addr="
16 "%s)", key_idx, addr1[0] & 0x01 ? "broad" : "uni",
19 wrqu.data.length = strlen( msg );
20 wireless_send_event( dev, IWEVCUSTOM, &wrqu, msg );
21 #endif /* WIRELESS_EXT > 14 */
28 - return i > 3 && supp->len == sizeof(CFG_SUP_RANGE_STRCT)/sizeof(hcf_16) - 1 ?
29 - (CFG_RANGE_SPEC_STRCT*)actq : NULL; /* 8 */
31 + * Originally there was this code here:
33 + * return i > 3 && supp->len == sizeof(CFG_SUP_RANGE_STRCT)/sizeof(hcf_16) - 1 ?
34 + * (CFG_RANGE_SPEC_STRCT*)actq : NULL;
36 + * Unfortunately, the sizeof() boogy was not working correctly on the Intel PXA2550 cpu.
37 + * sizeof(CFG_SUP_RANGE_STRCT)==16 there. So I had to uncomment this.
38 + * Holger Schurig <hs4233@mail.mn-solutions.de>
41 + return i > 3 ? (CFG_RANGE_SPEC_STRCT*)actq : NULL; /* 8 */
48 plugrecord *plugrecordp = fw->pdaplug;
50 -int plugrc = HCF_SUCCESS;
52 hcf_32 code; // Code to plug
53 hcf_16 *pdap; // pointer to matching code found in pda
55 while( ( rc == HCF_SUCCESS ) && ( code = plugrecordp->code ) != 0 ) {
56 pdap = apply_plug_rules(&cfg_prod_data[2], (hcf_16)(code & CODEMASK) );
60 + * For plug record code=0x00000150, I get
62 + * (CNV_LITTLE_TO_INT(*pdap) - 1) * 2 == 4
64 + * plugrecordp->len == 2
66 + * Therefore the download failed. Therefore, I disable this check.
67 + * Holger Schurig, hs4233@mail.mn-solutions.de
70 if ( (CNV_LITTLE_TO_INT(*pdap) - 1) * 2 != plugrecordp->len ) {
74 //!! Be aware of the difference with primary plug records:
75 //!! as opposed to plug_pri_records '!=' rather than '>'
76 //!! production data plug records must fit exactly at their location