~ubuntu-branches/ubuntu/oneiric/network-manager/oneiric

« back to all changes in this revision

Viewing changes to src/nm-device-olpc-mesh.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2011-08-08 10:17:28 UTC
  • Revision ID: james.westby@ubuntu.com-20110808101728-nbhqa7aztcwetla2
Tags: 0.8.9997+git.20110721t045648.36db194-0ubuntu2
* debian/control: bump libnl Build-Depends to libnl3-dev.
* debian/patches/libnl3-port.patch: backport changes from NM's libnl3 git
  branch to port to libnl3 APIs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
271
271
static gboolean
272
272
real_hw_is_up (NMDevice *device)
273
273
{
274
 
        return nm_system_device_is_up (device);
 
274
        return nm_system_iface_is_up (nm_device_get_ip_ifindex (device));
275
275
}
276
276
 
277
277
static gboolean
278
278
real_hw_bring_up (NMDevice *dev, gboolean *no_firmware)
279
279
{
280
 
        return nm_system_device_set_up_down (dev, TRUE, no_firmware);
 
280
        return nm_system_iface_set_up (nm_device_get_ip_ifindex (dev), TRUE, no_firmware);
281
281
}
282
282
 
283
283
static void
284
284
real_hw_take_down (NMDevice *dev)
285
285
{
286
 
        nm_system_device_set_up_down (dev, FALSE, NULL);
 
286
        nm_system_iface_set_up (nm_device_get_ip_ifindex (dev), FALSE, NULL);
287
287
}
288
288
 
289
289
static gboolean