Re: [PATCH] mwifiex: fix spelling mistake "capabilties" -> "capabilities"

From: Colin Ian King
Date: Tue Apr 16 2019 - 04:10:30 EST


On 16/04/2019 08:02, Mukesh Ojha wrote:
>
> On 4/15/2019 7:56 PM, Colin King wrote:
>> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>>
>> There various spelling mistakes in function names and in message
>> text. Fix these.
>>
>> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
>
> I am hoping you have done the compilation test.

Indeed. It builds fine.

>
> Reviewed-by: Mukesh Ojha <mojha@xxxxxxxxxxxxxx>
>
> Cheers,
> -Mukesh
>
>> ---
>> Â drivers/net/wireless/marvell/mwifiex/sta_event.c | 12 ++++++------
>> Â drivers/net/wireless/marvell/mwifiex/uap_event.c |Â 8 ++++----
>> Â 2 files changed, 10 insertions(+), 10 deletions(-)
>>
>> diff --git a/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> b/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> index a327fc5b36e3..8b3123cb84c8 100644
>> --- a/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> +++ b/drivers/net/wireless/marvell/mwifiex/sta_event.c
>> @@ -27,9 +27,9 @@
>> Â Â #define MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZEÂÂÂ 12
>> Â -static int mwifiex_check_ibss_peer_capabilties(struct
>> mwifiex_private *priv,
>> -ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct mwifiex_sta_node *sta_ptr,
>> -ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct sk_buff *event)
>> +static int mwifiex_check_ibss_peer_capabilities(struct
>> mwifiex_private *priv,
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct mwifiex_sta_node *sta_ptr,
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct sk_buff *event)
>> Â {
>> ÂÂÂÂÂ int evt_len, ele_len;
>> ÂÂÂÂÂ u8 *curr;
>> @@ -42,7 +42,7 @@ static int
>> mwifiex_check_ibss_peer_capabilties(struct mwifiex_private *priv,
>> ÂÂÂÂÂ evt_len = event->len;
>> ÂÂÂÂÂ 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);
>> Â ÂÂÂÂÂ skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE);
>> @@ -937,8 +937,8 @@ int mwifiex_process_sta_event(struct
>> mwifiex_private *priv)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ibss_sta_addr);
>> ÂÂÂÂÂÂÂÂÂ sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr);
>> ÂÂÂÂÂÂÂÂÂ if (sta_ptr && adapter->adhoc_11n_enabled) {
>> -ÂÂÂÂÂÂÂÂÂÂÂ mwifiex_check_ibss_peer_capabilties(priv, sta_ptr,
>> -ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ adapter->event_skb);
>> +ÂÂÂÂÂÂÂÂÂÂÂ mwifiex_check_ibss_peer_capabilities(priv, sta_ptr,
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ adapter->event_skb);
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂ if (sta_ptr->is_11n_enabled)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ for (i = 0; i < MAX_NUM_TID; i++)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ sta_ptr->ampdu_sta[i] =
>> diff --git a/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> b/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> index ca759d9c0253..86bfa1b9ef9d 100644
>> --- a/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> +++ b/drivers/net/wireless/marvell/mwifiex/uap_event.c
>> @@ -23,8 +23,8 @@
>> Â Â #define MWIFIEX_BSS_START_EVT_FIX_SIZEÂÂÂ 12
>> Â -static int mwifiex_check_uap_capabilties(struct mwifiex_private *priv,
>> -ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct sk_buff *event)
>> +static int mwifiex_check_uap_capabilities(struct mwifiex_private *priv,
>> +ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ struct sk_buff *event)
>> Â {
>> ÂÂÂÂÂ int evt_len;
>> ÂÂÂÂÂ u8 *curr;
>> @@ -38,7 +38,7 @@ static int mwifiex_check_uap_capabilties(struct
>> mwifiex_private *priv,
>> ÂÂÂÂÂ evt_len = event->len;
>> ÂÂÂÂÂ 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);
>> Â ÂÂÂÂÂ skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE);
>> @@ -201,7 +201,7 @@ int mwifiex_process_uap_event(struct
>> mwifiex_private *priv)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ ETH_ALEN);
>> ÂÂÂÂÂÂÂÂÂ if (priv->hist_data)
>> ÂÂÂÂÂÂÂÂÂÂÂÂÂ mwifiex_hist_data_reset(priv);
>> -ÂÂÂÂÂÂÂ mwifiex_check_uap_capabilties(priv, adapter->event_skb);
>> +ÂÂÂÂÂÂÂ mwifiex_check_uap_capabilities(priv, adapter->event_skb);
>> ÂÂÂÂÂÂÂÂÂ break;
>> ÂÂÂÂÂ case EVENT_UAP_MIC_COUNTERMEASURES:
>> ÂÂÂÂÂÂÂÂÂ /* For future development */