Commit 747c615e authored by Michael Straube's avatar Michael Straube Committed by Greg Kroah-Hartman

staging: rtl8188eu: rename struct field Wifi_Error_Status

Rename struct field Wifi_Error_Status to avoid CamelCase.
Wifi_Error_Status -> wifi_error_status
Signed-off-by: default avatarMichael Straube <straube.linux@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 4fea3f99
...@@ -12,10 +12,10 @@ void rtw_hal_sreset_init(struct adapter *padapter) ...@@ -12,10 +12,10 @@ void rtw_hal_sreset_init(struct adapter *padapter)
{ {
struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv; struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv;
psrtpriv->Wifi_Error_Status = WIFI_STATUS_SUCCESS; psrtpriv->wifi_error_status = WIFI_STATUS_SUCCESS;
} }
void sreset_set_wifi_error_status(struct adapter *padapter, u32 status) void sreset_set_wifi_error_status(struct adapter *padapter, u32 status)
{ {
padapter->HalData->srestpriv.Wifi_Error_Status = status; padapter->HalData->srestpriv.wifi_error_status = status;
} }
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include <drv_types.h> #include <drv_types.h>
struct sreset_priv { struct sreset_priv {
u8 Wifi_Error_Status; u8 wifi_error_status;
}; };
#include <rtl8188e_hal.h> #include <rtl8188e_hal.h>
......
...@@ -263,7 +263,7 @@ static int usbctrl_vendorreq(struct adapter *adapt, u8 request, u16 value, u16 i ...@@ -263,7 +263,7 @@ static int usbctrl_vendorreq(struct adapter *adapt, u8 request, u16 value, u16 i
if (status == (-ESHUTDOWN) || status == -ENODEV) if (status == (-ESHUTDOWN) || status == -ENODEV)
adapt->bSurpriseRemoved = true; adapt->bSurpriseRemoved = true;
else else
adapt->HalData->srestpriv.Wifi_Error_Status = USB_VEN_REQ_CMD_FAIL; adapt->HalData->srestpriv.wifi_error_status = USB_VEN_REQ_CMD_FAIL;
} else { /* status != len && status >= 0 */ } else { /* status != len && status >= 0 */
if (status > 0) { if (status > 0) {
if (requesttype == 0x01) { if (requesttype == 0x01) {
...@@ -410,7 +410,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs) ...@@ -410,7 +410,7 @@ static void usb_read_port_complete(struct urb *purb, struct pt_regs *regs)
break; break;
case -EPROTO: case -EPROTO:
case -EOVERFLOW: case -EOVERFLOW:
adapt->HalData->srestpriv.Wifi_Error_Status = USB_READ_PORT_FAIL; adapt->HalData->srestpriv.wifi_error_status = USB_READ_PORT_FAIL;
precvbuf->reuse = true; precvbuf->reuse = true;
usb_read_port(adapt, RECV_BULK_IN_ADDR, precvbuf); usb_read_port(adapt, RECV_BULK_IN_ADDR, precvbuf);
break; break;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment