]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drivers/net: Use eth_random_addr
authorJoe Perches <joe@perches.com>
Thu, 12 Jul 2012 19:33:09 +0000 (19:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 05:38:28 +0000 (22:38 -0700)
Convert the existing uses of random_ether_addr to
the new eth_random_addr.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c
drivers/net/wimax/i2400m/driver.c

index 987aeefbc774e9c8ad869e0dc3ac11d5819dbb53..961fad1f705365392522ac24eef23107b7deefd7 100644 (file)
@@ -22,7 +22,7 @@
  *    Add TUNSETLINK ioctl to set the link encapsulation
  *
  *  Mark Smith <markzzzsmith@yahoo.com.au>
- *    Use random_ether_addr() for tap MAC address.
+ *    Use eth_random_addr() for tap MAC address.
  *
  *  Harald Roelle <harald.roelle@ifi.lmu.de>  2004/04/20
  *    Fixes in packet dropping, queue length setting and queue wakeup.
index 850b8bc38beeae122fadf2f1402fb9558e85dcf1..025426132754a4f584f3cd7d5eda4362c176bab8 100644 (file)
@@ -896,7 +896,7 @@ int i2400m_setup(struct i2400m *i2400m, enum i2400m_bri bm_flags)
        result = i2400m_read_mac_addr(i2400m);
        if (result < 0)
                goto error_read_mac_addr;
-       random_ether_addr(i2400m->src_mac_addr);
+       eth_random_addr(i2400m->src_mac_addr);
 
        i2400m->pm_notifier.notifier_call = i2400m_pm_notifier;
        register_pm_notifier(&i2400m->pm_notifier);