staging: rtl8723bs: fix spelling mistakes in RT_TRACE messages
authorColin Ian King <colin.king@canonical.com>
Tue, 11 Apr 2017 13:31:20 +0000 (14:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:00:54 +0000 (16:00 +0200)
Fix a few spelling mistakes in RT_TRACE messages and split up
wide lines to span multiple lines

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_ioctl_set.c
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c
drivers/staging/rtl8723bs/os_dep/os_intfs.c

index 073b0875fdca2aabdfb58eebb39c63d1afae47d5..e0793f8d329d24e2a93e57ead30e845263b63930 100644 (file)
@@ -622,7 +622,9 @@ u8 rtw_set_802_11_add_wep(struct adapter *padapter, struct ndis_802_11_wep *wep)
                break;
        }
 
-       RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_, ("rtw_set_802_11_add_wep:befor memcpy, wep->KeyLength = 0x%x wep->KeyIndex = 0x%x  keyid =%x\n", wep->KeyLength, wep->KeyIndex, keyid));
+       RT_TRACE(_module_rtl871x_ioctl_set_c_, _drv_info_,
+                ("rtw_set_802_11_add_wep:before memcpy, wep->KeyLength = 0x%x wep->KeyIndex = 0x%x  keyid =%x\n",
+                 wep->KeyLength, wep->KeyIndex, keyid));
 
        memcpy(&(psecuritypriv->dot11DefKey[keyid].skey[0]), &(wep->KeyMaterial), wep->KeyLength);
 
index 18e78d5198c3a0b8496ff440374cc2aadde6db76..697b81e2140cb21e27c912a1e7ccc475d29f01b9 100644 (file)
@@ -6677,7 +6677,9 @@ u8 mlme_evt_hdl(struct adapter *padapter, unsigned char *pbuf)
        #ifdef CHECK_EVENT_SEQ
        /*  checking event sequence... */
        if (evt_seq != (atomic_read(&pevt_priv->event_seq) & 0x7f)) {
-               RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("Evetn Seq Error! %d vs %d\n", (evt_seq & 0x7f), (atomic_read(&pevt_priv->event_seq) & 0x7f)));
+               RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_,
+                        ("Event Seq Error! %d vs %d\n", (evt_seq & 0x7f),
+                         (atomic_read(&pevt_priv->event_seq) & 0x7f)));
 
                pevt_priv->event_seq = (evt_seq+1)&0x7f;
 
index 843be2cc6c1035472b7021b85cb21aed77a5e5e8..f83cfc76505c441392f8384bca9cfda850d1b273 100644 (file)
@@ -1275,7 +1275,8 @@ void rtw_dev_unload(struct adapter *padapter)
                        }
                        padapter->bSurpriseRemoved = true;
                }
-               RT_TRACE(_module_hci_intfs_c_, _drv_notice_, ("@ %s: deinit hal complelt!\n", __func__));
+               RT_TRACE(_module_hci_intfs_c_, _drv_notice_,
+                        ("@ %s: deinit hal complete!\n", __func__));
 
                padapter->bup = false;