Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222309 Details for
Bug 308085
net-misc/networkmanager-0.8 - patch for disabling background network scanning when connected to an AP
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch disables background network scanning when connected to an AP
networkmanager-0.8-disable-background-scanning.patch (text/plain), 825 bytes, created by
Dereck
on 2010-03-06 17:24:20 UTC
(
hide
)
Description:
Patch disables background network scanning when connected to an AP
Filename:
MIME Type:
Creator:
Dereck
Created:
2010-03-06 17:24:20 UTC
Size:
825 bytes
patch
obsolete
>diff -Naur NetworkManager-0.8/src/nm-device-wifi.c NetworkManager-0.8-dev/src/nm-device-wifi.c >--- NetworkManager-0.8/src/nm-device-wifi.c 2010-02-18 10:47:45.000000000 -0500 >+++ NetworkManager-0.8-dev/src/nm-device-wifi.c 2010-03-06 10:51:31.527438936 -0500 >@@ -1789,11 +1789,16 @@ > NMDeviceWifi *self = NM_DEVICE_WIFI (user_data); > NMDeviceWifiPrivate *priv = NM_DEVICE_WIFI_GET_PRIVATE (self); > gboolean backoff = FALSE; >+ NMDeviceState state; >+ >+ state = nm_device_get_state (NM_DEVICE (self)); > > if (check_scanning_allowed (self)) { > if (nm_supplicant_interface_request_scan (priv->supplicant.iface)) { >- /* success */ >- backoff = TRUE; >+ if ((state == NM_DEVICE_STATE_ACTIVATED) || (nm_supplicant_interface_request_scan (priv->supplicant.iface))) { >+ /* success */ >+ backoff = TRUE; >+ } > } > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 308085
:
222309
|
222337
|
222339
|
222369