hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/net/ieee802154/nl-phy.c
....@@ -1,16 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Netlink interface for IEEE 802.15.4 stack
34 *
45 * 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.
146 *
157 * Written by:
168 * Sergey Lapin <slapin@ossfans.org>
....@@ -242,7 +234,7 @@
242234 * dev_set_mac_address require RTNL_LOCK
243235 */
244236 rtnl_lock();
245
- rc = dev_set_mac_address(dev, &addr);
237
+ rc = dev_set_mac_address(dev, &addr, NULL);
246238 rtnl_unlock();
247239 if (rc)
248240 goto dev_unregister;