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