소스 검색

staging: rtl8192e: Fix typo in rtl8192e

Fix spelling typo in comments within rtl8192e.

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Reviewed-by: James Cameron <quozl@laptop.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Masanari Iida 11 년 전
부모
커밋
430fb25090

+ 1 - 1
drivers/staging/rtl8192e/rtl8192e/r8192E_cmdpkt.c

@@ -373,7 +373,7 @@ u32 cmpk_message_handle_rx(struct net_device *dev,
 		default:
 		default:
 
 
 			RT_TRACE(COMP_CMDPKT, "---->cmpk_message_handle_rx():"
 			RT_TRACE(COMP_CMDPKT, "---->cmpk_message_handle_rx():"
-				 "unknow CMD Element\n");
+				 "unknown CMD Element\n");
 			return 1;
 			return 1;
 		}
 		}
 
 

+ 1 - 1
drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c

@@ -1555,7 +1555,7 @@ static bool SetRFPowerState8190(struct net_device *dev,
 
 
 		default:
 		default:
 			bResult = false;
 			bResult = false;
-			RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknow state"
+			RT_TRACE(COMP_ERR, "SetRFPowerState8190(): unknown state"
 				 " to set: 0x%X!!!\n", eRFPowerState);
 				 " to set: 0x%X!!!\n", eRFPowerState);
 			break;
 			break;
 		}
 		}

+ 1 - 1
drivers/staging/rtl8192e/rtl8192e/rtl_wx.c

@@ -1214,7 +1214,7 @@ static iw_handler r8192_wx_handlers[] = {
 };
 };
 
 
 /*
 /*
- * the following rule need to be follwing,
+ * the following rule need to be following,
  * Odd : get (world access),
  * Odd : get (world access),
  * even : set (root access)
  * even : set (root access)
  * */
  * */

+ 1 - 1
drivers/staging/rtl8192e/rtl819x_TSProc.c

@@ -79,7 +79,7 @@ static void RxPktPendingTimeout(unsigned long data)
 
 
 		if (index > REORDER_WIN_SIZE) {
 		if (index > REORDER_WIN_SIZE) {
 			RTLLIB_DEBUG(RTLLIB_DL_ERR, "RxReorderIndicatePacket():"
 			RTLLIB_DEBUG(RTLLIB_DL_ERR, "RxReorderIndicatePacket():"
-				     " Rx Reorer struct buffer full!!\n");
+				     " Rx Reorder struct buffer full!!\n");
 			spin_unlock_irqrestore(&(ieee->reorder_spinlock),
 			spin_unlock_irqrestore(&(ieee->reorder_spinlock),
 					       flags);
 					       flags);
 			return;
 			return;

+ 1 - 1
drivers/staging/rtl8192e/rtllib_rx.c

@@ -712,7 +712,7 @@ static void RxReorderIndicatePacket(struct rtllib_device *ieee,
 
 
 		if (index > REORDER_WIN_SIZE) {
 		if (index > REORDER_WIN_SIZE) {
 			RTLLIB_DEBUG(RTLLIB_DL_ERR, "RxReorderIndicatePacket():"
 			RTLLIB_DEBUG(RTLLIB_DL_ERR, "RxReorderIndicatePacket():"
-				     " Rx Reorer struct buffer full!!\n");
+				     " Rx Reorder struct buffer full!!\n");
 			spin_unlock_irqrestore(&(ieee->reorder_spinlock),
 			spin_unlock_irqrestore(&(ieee->reorder_spinlock),
 					       flags);
 					       flags);
 			return;
 			return;

+ 1 - 1
drivers/staging/rtl8192e/rtllib_softmac.c

@@ -543,7 +543,7 @@ void rtllib_softmac_scan_syncro(struct rtllib_device *ieee, u8 is_mesh)
 				goto out; /* scan completed */
 				goto out; /* scan completed */
 		} while (!ieee->active_channel_map[ch]);
 		} while (!ieee->active_channel_map[ch]);
 
 
-		/* this fuction can be called in two situations
+		/* this function can be called in two situations
 		 * 1- We have switched to ad-hoc mode and we are
 		 * 1- We have switched to ad-hoc mode and we are
 		 *    performing a complete syncro scan before conclude
 		 *    performing a complete syncro scan before conclude
 		 *    there are no interesting cell and to create a
 		 *    there are no interesting cell and to create a