From b76cc94a107ccaa7003d7ce63ff1b23aaed8f0f9 Mon Sep 17 00:00:00 2001 From: Tejaswini Poluri Date: Thu, 30 Mar 2017 20:41:54 +0530 Subject: staging: rtl8712: code style fix Fixed the warnings from checkpatch.pl on file rtl8712/mlme_linux.c Avoided multiple line dereferences in the code Signed-off-by: Tejaswini Poluri Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8712/mlme_linux.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'drivers/staging/rtl8712') diff --git a/drivers/staging/rtl8712/mlme_linux.c b/drivers/staging/rtl8712/mlme_linux.c index 999c16d9c6c1..20372659d15d 100644 --- a/drivers/staging/rtl8712/mlme_linux.c +++ b/drivers/staging/rtl8712/mlme_linux.c @@ -110,12 +110,12 @@ void r8712_os_indicate_disconnect(struct _adapter *adapter) * disconnect with AP for 60 seconds. */ - memcpy(&backupPMKIDList[0], &adapter->securitypriv. - PMKIDList[0], sizeof(struct RT_PMKID_LIST) * - NUM_PMKID_CACHE); + memcpy(&backupPMKIDList[0], + &adapter->securitypriv.PMKIDList[0], + sizeof(struct RT_PMKID_LIST) * NUM_PMKID_CACHE); backupPMKIDIndex = adapter->securitypriv.PMKIDIndex; - backupTKIPCountermeasure = adapter->securitypriv. - btkip_countermeasure; + backupTKIPCountermeasure = + adapter->securitypriv.btkip_countermeasure; memset((unsigned char *)&adapter->securitypriv, 0, sizeof(struct security_priv)); setup_timer(&adapter->securitypriv.tkip_timer, -- cgit v1.2.3-59-g8ed1b