NetworkManager r2312 - in branches/NETWORKMANAGER_0_6_0_RELEASE: . src



Author: dcbw
Date: 2007-02-12 21:07:45 +0000 (Mon, 12 Feb 2007)
New Revision: 2312
ViewCVS link: http://svn.gnome.org/viewcvs/NetworkManager?rev=2312&view=rev

Modified:
   branches/NETWORKMANAGER_0_6_0_RELEASE/ChangeLog
   branches/NETWORKMANAGER_0_6_0_RELEASE/src/nm-device-802-3-ethernet.c
Log:
2007-02-12  Dan Williams  <dcbw redhat com>

	Don't wake up every 2 seconds to poke a wired device's 'carrier' file
	in sysfs; instead rely on netlink events.

	* src/nm-device-802-3-ethernet.c
		- (real_init): only listen for netlink link events for cards that
			support carrier detect.  For those that don't, explicitly set
			link to TRUE
		- (probe_link, nm_device_802_3_periodic_update, real_start): removed
		- (real_update_link): return link = TRUE for non-carrier-detect cards,
			and poke sysfs' 'carrier' file for carrier-detect cards






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]