| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright 2007-2012 Siemens AG |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License version 2 |
|---|
| 6 | | - * as published by the Free Software Foundation. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 9 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 10 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 11 | | - * GNU General Public License for more details. |
|---|
| 12 | 4 | * |
|---|
| 13 | 5 | * Written by: |
|---|
| 14 | 6 | * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> |
|---|
| .. | .. |
|---|
| 669 | 661 | sdata->dev = ndev; |
|---|
| 670 | 662 | sdata->wpan_dev.wpan_phy = local->hw.phy; |
|---|
| 671 | 663 | sdata->local = local; |
|---|
| 664 | + INIT_LIST_HEAD(&sdata->wpan_dev.list); |
|---|
| 672 | 665 | |
|---|
| 673 | 666 | /* setup type-dependent data */ |
|---|
| 674 | 667 | ret = ieee802154_setup_sdata(sdata, type); |
|---|