From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 2 Jul 2005 11:59:43 +0400 From: Alexander Bokovoy To: devel@altlinux.ru Message-ID: <20050702075943.GA10845@altlinux.org> Mail-Followup-To: devel@altlinux.ru Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline Subject: [devel] wpa_supplicant is broken X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2005 08:00:24 -0000 Archived-At: List-Archive: List-Post: --DIOMP1UsTsWJauNi Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings! =EF=C2=CE=CF=D7=C9=CC=D3=D1 =C4=CF =D7=DE=C5=D2=C1=DB=CE=C5=C7=CF =F3=C9=DA= =C9=C6=C1 =D0=CF=D3=CC=C5 =CE=C5=CB=CF=D4=CF=D2=CF=C7=CF "=DA=C1=D3=D4=CF= =D1". =F7=CF=CF=C2=DD=C5=CD, =C5=D3=CC=C9 =D3 etcnet =D1 =C2=CF=CC=C5=C5-=CD=C5=CE=C5=C5 =D3=D0=D2=C1=D7=C9=CC=D3=D1 (=CB= =C1=CB =C9 =D3 =C2=C5=D3=D0=CF=D2=D1=C4=CF=DE=CE=D9=CD =D0=C5=D2=C5=C9=CD= =C5=CE=CF=D7=C1=CE=C9=C5=CD =C9=CE=D4=C5=D2=C6=C5=CA=D3=CF=D7 -- =D0=CF=D3=D2=C5=C4=D3=D4=D7=CF=CD /etc= /net/iftab, =C6=CF=D2=CD=C1=D4 =CB=CF=D4=CF=D2=CF=C7=CF =CF=D0=C9=D3=C1=CE = =D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C2=CE=CF=D3=D4=D8. =F0=C1=D4=DE =D0=D2=C9=CC=CF=D6=C5=CE. --=20 / Alexander Bokovoy Samba Team http://www.samba.org/ ALT Linux Team http://www.altlinux.org/ Midgard Project Ry http://www.midgard-project.org/ --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=koi8-r Content-Disposition: attachment; filename="driver_ipw.c.patch" Content-Transfer-Encoding: quoted-printable --- driver_ipw.c.orig 2005-05-24 09:44:25 +0400 +++ driver_ipw.c 2005-07-02 11:31:40 +0400 @@ -73,19 +73,18 @@ } wpa_param; struct { u32 len; - u8 reserved[32]; - u8 data[0]; + u8 *data; } wpa_ie; struct{ - u32 command; - u32 reason_code; + int command; + int reason_code; } mlme; struct { u8 alg[IPW_CRYPT_ALG_NAME_LEN]; u8 set_tx; u32 err; u8 idx; - u8 seq[8]; + u8 seq[8]; /* sequence counter (set: RX, get: TX) */ u16 key_len; u8 key[0]; } crypt; @@ -161,6 +160,7 @@ memset(param, 0, blen); param->cmd =3D IPW_CMD_SET_WPA_IE; param->u.wpa_ie.len =3D wpa_ie_len; + param->u.wpa_ie.data =3D (u8 *) malloc(wpa_ie_len); memcpy(param->u.wpa_ie.data, wpa_ie, wpa_ie_len); =09 ret =3D ipw_ioctl(drv, param, blen, 1); --LpQ9ahxlCli8rRTG-- --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCxklvncWKdrYPwpkRAgLHAJ4tTPDQOIlfe5B1T6AFLNwNd2lhHgCgpUDe nhrZm6RNLXlEoScayhlZ7lI= =mPfo -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--