hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/wireless/ti/wl18xx/main.c
....@@ -1,22 +1,8 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * This file is part of wl18xx
34 *
45 * Copyright (C) 2011 Texas Instruments
5
- *
6
- * This program is free software; you can redistribute it and/or
7
- * modify it under the terms of the GNU General Public License
8
- * version 2 as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope that it will be useful, but
11
- * WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
- * 02110-1301 USA
19
- *
206 */
217
228 #include <linux/module.h>
....@@ -1855,44 +1841,6 @@
18551841 .types = BIT(NL80211_IFTYPE_MESH_POINT),
18561842 },
18571843 #endif
1858
- {
1859
- .max = 1,
1860
- .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1861
- },
1862
-};
1863
-
1864
-static const struct ieee80211_iface_limit wl18xx_iface_ap_cl_limits[] = {
1865
- {
1866
- .max = 1,
1867
- .types = BIT(NL80211_IFTYPE_STATION),
1868
- },
1869
- {
1870
- .max = 1,
1871
- .types = BIT(NL80211_IFTYPE_AP),
1872
- },
1873
- {
1874
- .max = 1,
1875
- .types = BIT(NL80211_IFTYPE_P2P_CLIENT),
1876
- },
1877
- {
1878
- .max = 1,
1879
- .types = BIT(NL80211_IFTYPE_P2P_DEVICE),
1880
- },
1881
-};
1882
-
1883
-static const struct ieee80211_iface_limit wl18xx_iface_ap_go_limits[] = {
1884
- {
1885
- .max = 1,
1886
- .types = BIT(NL80211_IFTYPE_STATION),
1887
- },
1888
- {
1889
- .max = 1,
1890
- .types = BIT(NL80211_IFTYPE_AP),
1891
- },
1892
- {
1893
- .max = 1,
1894
- .types = BIT(NL80211_IFTYPE_P2P_GO),
1895
- },
18961844 {
18971845 .max = 1,
18981846 .types = BIT(NL80211_IFTYPE_P2P_DEVICE),