| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Netlink interface for IEEE 802.15.4 stack |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2007, 2008 Siemens AG |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 8 | | - * as published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 11 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | | - * GNU General Public License for more details. |
|---|
| 14 | 6 | * |
|---|
| 15 | 7 | * Written by: |
|---|
| 16 | 8 | * Sergey Lapin <slapin@ossfans.org> |
|---|
| .. | .. |
|---|
| 242 | 234 | * dev_set_mac_address require RTNL_LOCK |
|---|
| 243 | 235 | */ |
|---|
| 244 | 236 | rtnl_lock(); |
|---|
| 245 | | - rc = dev_set_mac_address(dev, &addr); |
|---|
| 237 | + rc = dev_set_mac_address(dev, &addr, NULL); |
|---|
| 246 | 238 | rtnl_unlock(); |
|---|
| 247 | 239 | if (rc) |
|---|
| 248 | 240 | goto dev_unregister; |
|---|