aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/qmi_wwan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/qmi_wwan.c')
-rw-r--r--drivers/net/usb/qmi_wwan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/qmi_wwan.c b/drivers/net/usb/qmi_wwan.c
index 606eba2872bd..3a8131582e75 100644
--- a/drivers/net/usb/qmi_wwan.c
+++ b/drivers/net/usb/qmi_wwan.c
@@ -323,7 +323,7 @@ next_desc:
323 /* Never use the same address on both ends of the link, even 323 /* Never use the same address on both ends of the link, even
324 * if the buggy firmware told us to. 324 * if the buggy firmware told us to.
325 */ 325 */
326 if (!compare_ether_addr(dev->net->dev_addr, default_modem_addr)) 326 if (ether_addr_equal(dev->net->dev_addr, default_modem_addr))
327 eth_hw_addr_random(dev->net); 327 eth_hw_addr_random(dev->net);
328 328
329 /* make MAC addr easily distinguishable from an IP header */ 329 /* make MAC addr easily distinguishable from an IP header */