Correct a typo in rtl8723au's rtw_security.c which was most likely
caused by a copy and paste mistake. Prior to this commit, the TKIP
decryption function referred to WEP in its trace log output.

Signed-off-by: M. Vefa Bicakci <m....@runbox.com>
---
 drivers/staging/rtl8723au/core/rtw_security.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8723au/core/rtw_security.c 
b/drivers/staging/rtl8723au/core/rtw_security.c
index fd04ae78bb..7b4044fbe0 100644
--- a/drivers/staging/rtl8723au/core/rtw_security.c
+++ b/drivers/staging/rtl8723au/core/rtw_security.c
@@ -765,7 +765,7 @@ int rtw_tkip_decrypt23a(struct rtw_adapter *padapter,
                        crc[0] != payload[length - 4]) {
 
                RT_TRACE(_module_rtl871x_security_c_, _drv_err_,
-                               ("rtw_wep_decrypt23a:icv error "
+                               ("rtw_tkip_decrypt23a:icv error "
                                 "crc[3](%x)!= payload[length-1](%x) || "
                                 "crc[2](%x)!= payload[length-2](%x) || "
                                 "crc[1](%x)!= payload[length-3](%x) || "
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to