diff mbox

[3/4] staging: wilc1000: Fix typo in linux_wlan.c

Message ID 1448286080-14787-3-git-send-email-standby24x7@gmail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Masanari Iida Nov. 23, 2015, 1:41 p.m. UTC
This patch fix some spelling typo in wilc1000.c.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
 drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Comments

Randy Dunlap Nov. 23, 2015, 6:26 p.m. UTC | #1
On 11/23/15 05:41, Masanari Iida wrote:
> This patch fix some spelling typo in wilc1000.c.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> ---
>  drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.
Greg Kroah-Hartman Dec. 18, 2015, 10:48 p.m. UTC | #2
On Mon, Nov 23, 2015 at 10:41:19PM +0900, Masanari Iida wrote:
> This patch fix some spelling typo in wilc1000.c.
> 
> Signed-off-by: Masanari Iida <standby24x7@gmail.com>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> ---
>  drivers/staging/wilc1000/linux_wlan.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)

Please rebase this against my staging-testing branch and resend.

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/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c
index 086f1db..dc98ccb 100644
--- a/drivers/staging/wilc1000/linux_wlan.c
+++ b/drivers/staging/wilc1000/linux_wlan.c
@@ -130,7 +130,7 @@  static int dev_state_ev_handler(struct notifier_block *this, unsigned long event
 
 	dev  = (struct net_device *)dev_iface->ifa_dev->dev;
 	if (!dev->ieee80211_ptr || !dev->ieee80211_ptr->wiphy) {
-		PRINT_D(GENERIC_DBG, "No Wireless registerd\n");
+		PRINT_D(GENERIC_DBG, "No Wireless registered\n");
 		return NOTIFY_DONE;
 	}
 	priv = wiphy_priv(dev->ieee80211_ptr->wiphy);
@@ -346,7 +346,7 @@  struct net_device *get_if_handler(struct wilc *wilc, u8 *mac_header)
 		    !memcmp(bssid, wilc->vif[i].bssid, ETH_ALEN))
 			return wilc->vif[i].ndev;
 
-	PRINT_INFO(INIT_DBG, "Invalide handle\n");
+	PRINT_INFO(INIT_DBG, "Invalid handle\n");
 	for (i = 0; i < 25; i++)
 		PRINT_D(INIT_DBG, "%02x ", mac_header[i]);
 	bssid = mac_header + 18;
@@ -500,13 +500,13 @@  int linux_wlan_get_firmware(struct net_device *dev)
 
 #ifdef WILC_SDIO
 	if (request_firmware(&wilc_firmware, firmware, &wilc->wilc_sdio_func->dev) != 0) {
-		PRINT_ER("%s - firmare not available\n", firmware);
+		PRINT_ER("%s - firmware not available\n", firmware);
 		ret = -1;
 		goto _fail_;
 	}
 #else
 	if (request_firmware(&wilc_firmware, firmware, &wilc->wilc_spidev->dev) != 0) {
-		PRINT_ER("%s - firmare not available\n", firmware);
+		PRINT_ER("%s - firmware not available\n", firmware);
 		ret = -1;
 		goto _fail_;
 	}
@@ -1155,19 +1155,19 @@  static void wilc_set_multicast_list(struct net_device *dev)
 		dev->mc.count);
 
 	if (dev->flags & IFF_PROMISC) {
-		PRINT_D(INIT_DBG, "Set promiscuous mode ON, retrive all packets\n");
+		PRINT_D(INIT_DBG, "Set promiscuous mode ON, retrieve all packets\n");
 		return;
 	}
 
 	if ((dev->flags & IFF_ALLMULTI) ||
 	    (dev->mc.count) > WILC_MULTICAST_TABLE_SIZE) {
-		PRINT_D(INIT_DBG, "Disable multicast filter, retrive all multicast packets\n");
+		PRINT_D(INIT_DBG, "Disable multicast filter, retrieve all multicast packets\n");
 		host_int_setup_multicast_filter(hif_drv, false, 0);
 		return;
 	}
 
 	if ((dev->mc.count) == 0) {
-		PRINT_D(INIT_DBG, "Enable multicast filter, retrive directed packets only.\n");
+		PRINT_D(INIT_DBG, "Enable multicast filter, retrieve directed packets only.\n");
 		host_int_setup_multicast_filter(hif_drv, true, 0);
 		return;
 	}
@@ -1413,7 +1413,7 @@  void frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset)
 
 		skb = dev_alloc_skb(frame_len);
 		if (!skb) {
-			PRINT_ER("Low memory - packet droped\n");
+			PRINT_ER("Low memory - packet dropped\n");
 			return;
 		}