.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /* |
---|
2 | 3 | * This file is part of wl1271 |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2010 Nokia Corporation |
---|
5 | 6 | * |
---|
6 | 7 | * Contact: Luciano Coelho <luciano.coelho@nokia.com> |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or |
---|
9 | | - * modify it under the terms of the GNU General Public License |
---|
10 | | - * version 2 as published by the Free Software Foundation. |
---|
11 | | - * |
---|
12 | | - * This program is distributed in the hope that it will be useful, but |
---|
13 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
14 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
15 | | - * General Public License for more details. |
---|
16 | | - * |
---|
17 | | - * You should have received a copy of the GNU General Public License |
---|
18 | | - * along with this program; if not, write to the Free Software |
---|
19 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA |
---|
20 | | - * 02110-1301 USA |
---|
21 | | - * |
---|
22 | 8 | */ |
---|
23 | 9 | #include "testmode.h" |
---|
24 | 10 | |
---|
.. | .. |
---|
372 | 358 | u32 nla_cmd; |
---|
373 | 359 | int err; |
---|
374 | 360 | |
---|
375 | | - err = nla_parse(tb, WL1271_TM_ATTR_MAX, data, len, wl1271_tm_policy, |
---|
376 | | - NULL); |
---|
| 361 | + err = nla_parse_deprecated(tb, WL1271_TM_ATTR_MAX, data, len, |
---|
| 362 | + wl1271_tm_policy, NULL); |
---|
377 | 363 | if (err) |
---|
378 | 364 | return err; |
---|
379 | 365 | |
---|