staging: rtl8723au: core: add consistent spacing around '-'
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Sun, 21 Sep 2014 14:08:30 +0000 (19:38 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Sep 2014 20:51:45 +0000 (13:51 -0700)
This patch fixes checkpatch.pl error in file rtw_ap.c
ERROR: need consistent spacing around '-' (ctx:WxV)

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_ap.c

index 84e010c4dcea7c07ddd309faa1bf76c1f2091719..5748da4ada15510d0936942abba25767a3c10230 100644 (file)
@@ -84,7 +84,7 @@ static void update_BCNTIM(struct rtw_adapter *padapter)
 
                premainder_ie = p+tim_ielen;
 
-               tim_ie_offset = (int)(p -pie);
+               tim_ie_offset = (int)(p - pie);
 
                remainder_ielen = pnetwork_mlmeext->IELength - tim_ie_offset - tim_ielen;