From: Jes Sorensen Date: Fri, 16 May 2014 08:04:36 +0000 (+0200) Subject: staging: rtl8723au: decryptor() use int to store error codes X-Git-Tag: next-20140519~19^2~106 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=696324803396e6cc3f4b849d48fc3d4a9c20b289;p=karo-tx-linux.git staging: rtl8723au: decryptor() use int to store error codes Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c b/drivers/staging/rtl8723au/core/rtw_recv.c index 19b58cae8c42..eda495a1d5d8 100644 --- a/drivers/staging/rtl8723au/core/rtw_recv.c +++ b/drivers/staging/rtl8723au/core/rtw_recv.c @@ -476,8 +476,7 @@ struct recv_frame *decryptor(struct rtw_adapter *padapter, struct rx_pkt_attrib *prxattrib = &precv_frame->attrib; struct security_priv *psecuritypriv = &padapter->securitypriv; struct recv_frame *return_packet = precv_frame; - u32 res = _SUCCESS; - + int res = _SUCCESS; RT_TRACE(_module_rtl871x_recv_c_, _drv_info_, ("prxstat->decrypted =%x prxattrib->encrypt = 0x%03x\n",