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 rtw_hal_sreset_init(struct adapter * padapter)11void 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 sreset_set_wifi_error_status(struct adapter * padapter,u32 status)18void sreset_set_wifi_error_status(struct adapter *padapter, u32 status) 19 { 20 padapter->HalData->srestpriv.Wifi_Error_Status = status; 21 } 22