Bugzilla – Attachment 65525 Details for
Bug 144622
NetworkManager: WPA does not work with madwifi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
nm-use-madwifi-wpa-driver-rml.patch (jg?)
nm-use-madwifi-wpa-driver-rml.patch (text/x-patch), 889 bytes, created by
Christoph Thiel
on 2006-01-27 21:01:25 UTC
(
hide
)
Description:
nm-use-madwifi-wpa-driver-rml.patch (jg?)
Filename:
MIME Type:
Creator:
Christoph Thiel
Created:
2006-01-27 21:01:25 UTC
Size:
889 bytes
patch
obsolete
>diff -u -r1.25 nm-device-802-11-wireless.c >--- src/nm-device-802-11-wireless.c 24 Jan 2006 00:46:52 -0000 1.25 >+++ src/nm-device-802-11-wireless.c 24 Jan 2006 15:18:55 -0000 >@@ -2446,13 +2446,17 @@ > const char * iface = nm_device_get_iface (NM_DEVICE (self)); > gboolean success = FALSE; > int tries = 0; >+ char * driver = "wext"; > > if (!(ctrl = wpa_ctrl_open (WPA_SUPPLICANT_GLOBAL_SOCKET))) > goto exit; > >+ if (!strcmp (nm_device_get_driver (NM_DEVICE (self)), "ath_pci")) >+ driver = "madwifi"; >+ > /* wpa_cli -g/var/run/wpa_supplicant-global interface_add eth1 "" wext /var/run/wpa_supplicant */ > if (!nm_utils_supplicant_request_with_check (ctrl, "OK", __func__, NULL, >- "INTERFACE_ADD %s\t\twext\t" WPA_SUPPLICANT_CONTROL_SOCKET "\t", iface)) >+ "INTERFACE_ADD %s\t\t%s\t" WPA_SUPPLICANT_CONTROL_SOCKET "\t", iface, driver)) > goto exit; > wpa_ctrl_close (ctrl); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 144622
:
65524
| 65525 |
65540