forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/marvell/mwifiex/uap_event.c
....@@ -1,10 +1,10 @@
11 /*
2
- * Marvell Wireless LAN device driver: AP event handling
2
+ * NXP Wireless LAN device driver: AP event handling
33 *
4
- * Copyright (C) 2012-2014, Marvell International Ltd.
4
+ * Copyright 2011-2020 NXP
55 *
6
- * This software file (the "File") is distributed by Marvell International
7
- * Ltd. under the terms of the GNU General Public License Version 2, June 1991
6
+ * This software file (the "File") is distributed by NXP
7
+ * under the terms of the GNU General Public License Version 2, June 1991
88 * (the "License"). You may use, redistribute and/or modify this File in
99 * accordance with the terms and conditions of the License, a copy of which
1010 * is available by writing to the Free Software Foundation, Inc.,
....@@ -23,8 +23,8 @@
2323
2424 #define MWIFIEX_BSS_START_EVT_FIX_SIZE 12
2525
26
-static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
27
- struct sk_buff *event)
26
+static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
27
+ struct sk_buff *event)
2828 {
2929 int evt_len;
3030 u8 *curr;
....@@ -38,7 +38,7 @@
3838 evt_len = event->len;
3939 curr = event->data;
4040
41
- mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:",
41
+ mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
4242 event->data, event->len);
4343
4444 skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
....@@ -201,7 +201,7 @@
201201 ETH_ALEN);
202202 if (priv->hist_data)
203203 mwifiex_hist_data_reset(priv);
204
- mwifiex_check_uap_capabilties(priv, adapter->event_skb);
204
+ mwifiex_check_uap_capabilities(priv, adapter->event_skb);
205205 break;
206206 case EVENT_UAP_MIC_COUNTERMEASURES:
207207 /* For future development */
....@@ -300,7 +300,7 @@
300300 mwifiex_11h_handle_radar_detected(priv, adapter->event_skb);
301301 break;
302302 case EVENT_BT_COEX_WLAN_PARA_CHANGE:
303
- dev_err(adapter->dev, "EVENT: BT coex wlan param update\n");
303
+ mwifiex_dbg(adapter, EVENT, "event: BT coex wlan param update\n");
304304 mwifiex_bt_coex_wlan_param_update_event(priv,
305305 adapter->event_skb);
306306 break;