mwifiex: fix spelling mistake "capabilties" -> "capabilities"

There various spelling mistakes in function names and in message
text. Fix these.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Colin Ian King 2019-04-15 15:26:49 +01:00 committed by Kalle Valo
parent b9574ce1d0
commit 3b989e58e8
2 changed files with 10 additions and 10 deletions

View File

@ -27,7 +27,7 @@
#define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE 12 #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE 12
static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv, static int mwifiex_check_ibss_peer_capabilities(struct mwifiex_private *priv,
struct mwifiex_sta_node *sta_ptr, struct mwifiex_sta_node *sta_ptr,
struct sk_buff *event) struct sk_buff *event)
{ {
@ -42,7 +42,7 @@ static int mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
evt_len = event->len; evt_len = event->len;
curr = event->data; curr = event->data;
mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilties:", mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:",
event->data, event->len); event->data, event->len);
skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
@ -937,7 +937,7 @@ int mwifiex_process_sta_event(struct mwifiex_private *priv)
ibss_sta_addr); ibss_sta_addr);
sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr); sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
if (sta_ptr && adapter->adhoc_11n_enabled) { if (sta_ptr && adapter->adhoc_11n_enabled) {
mwifiex_check_ibss_peer_capabilties(priv, sta_ptr, mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
adapter->event_skb); adapter->event_skb);
if (sta_ptr->is_11n_enabled) if (sta_ptr->is_11n_enabled)
for (i = 0; i < MAX_NUM_TID; i++) for (i = 0; i < MAX_NUM_TID; i++)

View File

@ -23,7 +23,7 @@
#define MWIFIEX_BSS_START_EVT_FIX_SIZE 12 #define MWIFIEX_BSS_START_EVT_FIX_SIZE 12
static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv, static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
struct sk_buff *event) struct sk_buff *event)
{ {
int evt_len; int evt_len;
@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
evt_len = event->len; evt_len = event->len;
curr = event->data; curr = event->data;
mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilties:", mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:",
event->data, event->len); event->data, event->len);
skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE); skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
@ -201,7 +201,7 @@ int mwifiex_process_uap_event(struct mwifiex_private *priv)
ETH_ALEN); ETH_ALEN);
if (priv->hist_data) if (priv->hist_data)
mwifiex_hist_data_reset(priv); mwifiex_hist_data_reset(priv);
mwifiex_check_uap_capabilties(priv, adapter->event_skb); mwifiex_check_uap_capabilities(priv, adapter->event_skb);
break; break;
case EVENT_UAP_MIC_COUNTERMEASURES: case EVENT_UAP_MIC_COUNTERMEASURES:
/* For future development */ /* For future development */