]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: wilc1000: rename pBssid of tx_complete_data structure
authorLeo Kim <leo.kim@atmel.com>
Thu, 4 Feb 2016 09:15:34 +0000 (18:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This patch renames pBssid variable of tx_complete_data structure to bssid
to avoid camelcase.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_wlan.c
drivers/staging/wilc1000/wilc_wlan.c
drivers/staging/wilc1000/wilc_wlan_if.h

index 5992478015a22a7b9efec7e1832a9e65d32dbf62..f5f787ef90c040a63ff3700c6ff1ec010368248b 100644 (file)
@@ -1193,7 +1193,7 @@ int wilc_mac_xmit(struct sk_buff *skb, struct net_device *ndev)
        PRINT_D(TX_DBG, "Adding tx packet to TX Queue\n");
        vif->netstats.tx_packets++;
        vif->netstats.tx_bytes += tx_data->size;
-       tx_data->pBssid = wilc->vif[vif->u8IfIdx]->bssid;
+       tx_data->bssid = wilc->vif[vif->u8IfIdx]->bssid;
        queue_count = wilc_wlan_txq_add_net_pkt(ndev, (void *)tx_data,
                                                tx_data->buff, tx_data->size,
                                                linux_wlan_tx_complete);
index 392ef162772fcf2881fc2901bfc66dc2b2d3e83e..ebf38a5786945f6de00eca809fcd730879bf0a74 100644 (file)
@@ -809,7 +809,7 @@ int wilc_wlan_handle_txq(struct net_device *dev, u32 *txq_count)
                                if (tqe->type == WILC_CFG_PKT) {
                                        buffer_offset = ETH_CONFIG_PKT_HDR_OFFSET;
                                } else if (tqe->type == WILC_NET_PKT) {
-                                       char *bssid = ((struct tx_complete_data *)(tqe->priv))->pBssid;
+                                       char *bssid = ((struct tx_complete_data *)(tqe->priv))->bssid;
 
                                        buffer_offset = ETH_ETHERNET_HDR_OFFSET;
                                        memcpy(&txb[offset + 4], bssid, 6);
index 455a98fb9b20fca46aa9bf6fa977553fc7c31635..294552dda7b5635df29fe0f31de47d79ad701658 100644 (file)
@@ -82,7 +82,7 @@ typedef struct {
 struct tx_complete_data {
        int size;
        void *buff;
-       u8 *pBssid;
+       u8 *bssid;
        struct sk_buff *skb;
 };