diff mbox

[18/80] staging: wilc1000: rename au8AssociatedBSSID of struct host_if_drv

Message ID 1446015640-29398-18-git-send-email-glen.lee@atmel.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Glen Lee Oct. 28, 2015, 6:59 a.m. UTC
From: Leo Kim <leo.kim@atmel.com>

This patch renames au8AssociatedBSSID of struct host_if_drv to assoc_bssid
to avoid CamelCase naming convention.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
---
 drivers/staging/wilc1000/host_interface.c | 8 ++++----
 drivers/staging/wilc1000/host_interface.h | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

Comments

Greg Kroah-Hartman Oct. 28, 2015, 11:46 p.m. UTC | #1
On Wed, Oct 28, 2015 at 03:59:38PM +0900, Glen Lee wrote:
> From: Leo Kim <leo.kim@atmel.com>
> 
> This patch renames au8AssociatedBSSID of struct host_if_drv to assoc_bssid
> to avoid CamelCase naming convention.
> 
> Signed-off-by: Leo Kim <leo.kim@atmel.com>
> Signed-off-by: Glen Lee <glen.lee@atmel.com>
> ---
>  drivers/staging/wilc1000/host_interface.c | 8 ++++----
>  drivers/staging/wilc1000/host_interface.h | 2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)

Doesn't apply as I didn't take patch 17 for the obvious reason.  Please
fix up and resend the series of what I didn't take.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c
index c378129..9c6f2eb 100644
--- a/drivers/staging/wilc1000/host_interface.c
+++ b/drivers/staging/wilc1000/host_interface.c
@@ -1581,7 +1581,7 @@  static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv *hif_drv,
 
 				if ((u8MacStatus == MAC_CONNECTED) &&
 				    (strConnectInfo.u16ConnectStatus == SUCCESSFUL_STATUSCODE))	{
-					memcpy(hif_drv->au8AssociatedBSSID,
+					memcpy(hif_drv->assoc_bssid,
 					       hif_drv->usr_conn_req.pu8bssid, ETH_ALEN);
 				}
 			}
@@ -1657,7 +1657,7 @@  static s32 Handle_RcvdGnrlAsyncInfo(struct host_if_drv *hif_drv,
 				PRINT_ER("Connect result callback function is NULL\n");
 			}
 
-			eth_zero_addr(hif_drv->au8AssociatedBSSID);
+			eth_zero_addr(hif_drv->assoc_bssid);
 
 			hif_drv->usr_conn_req.ssidLen = 0;
 			kfree(hif_drv->usr_conn_req.pu8ssid);
@@ -1840,7 +1840,7 @@  static int Handle_Key(struct host_if_drv *hif_drv,
 			}
 
 			if (hif_drv->hif_state == HOST_IF_CONNECTED)
-				memcpy(pu8keybuf, hif_drv->au8AssociatedBSSID, ETH_ALEN);
+				memcpy(pu8keybuf, hif_drv->assoc_bssid, ETH_ALEN);
 			else
 				PRINT_ER("Couldn't handle WPARxGtk while \
 					 state is not HOST_IF_CONNECTED\n");
@@ -2023,7 +2023,7 @@  static void Handle_Disconnect(struct host_if_drv *hif_drv)
 
 		hif_drv->hif_state = HOST_IF_IDLE;
 
-		eth_zero_addr(hif_drv->au8AssociatedBSSID);
+		eth_zero_addr(hif_drv->assoc_bssid);
 
 		hif_drv->usr_conn_req.ssidLen = 0;
 		kfree(hif_drv->usr_conn_req.pu8ssid);
diff --git a/drivers/staging/wilc1000/host_interface.h b/drivers/staging/wilc1000/host_interface.h
index 246f3b3..360dda3 100644
--- a/drivers/staging/wilc1000/host_interface.h
+++ b/drivers/staging/wilc1000/host_interface.h
@@ -301,7 +301,7 @@  struct host_if_drv {
 
 	enum host_if_state hif_state;
 
-	u8 au8AssociatedBSSID[ETH_ALEN];
+	u8 assoc_bssid[ETH_ALEN];
 	struct cfg_param_val strCfgValues;
 /* semaphores */
 	struct semaphore gtOsCfgValuesSem;