root/drivers/staging/rtl8188eu/core/rtw_sreset.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. rtw_hal_sreset_init
  2. sreset_set_wifi_error_status

   1 // SPDX-License-Identifier: GPL-2.0
   2 /******************************************************************************
   3  *
   4  * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
   5  *
   6  ******************************************************************************/
   7 
   8 #include <rtw_sreset.h>
   9 #include <usb_ops_linux.h>
  10 
  11 void rtw_hal_sreset_init(struct adapter *padapter)
  12 {
  13         struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv;
  14 
  15         psrtpriv->wifi_error_status = WIFI_STATUS_SUCCESS;
  16 }
  17 
  18 void sreset_set_wifi_error_status(struct adapter *padapter, u32 status)
  19 {
  20         padapter->HalData->srestpriv.wifi_error_status = status;
  21 }

/* [<][>][^][v][top][bottom][index][help] */