summaryrefslogtreecommitdiff
path: root/drivers/staging/rtl8188eu/core/rtw_sreset.c
blob: fb5adaf4a42c28c5e2b98724d1e06e4d0f24d82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// SPDX-License-Identifier: GPL-2.0
/******************************************************************************
 *
 * Copyright(c) 2007 - 2012 Realtek Corporation. All rights reserved.
 *
 ******************************************************************************/

#include <rtw_sreset.h>
#include <usb_ops_linux.h>

void rtw_hal_sreset_init(struct adapter *padapter)
{
	struct sreset_priv *psrtpriv = &padapter->HalData->srestpriv;

	psrtpriv->Wifi_Error_Status = WIFI_STATUS_SUCCESS;
}

void sreset_set_wifi_error_status(struct adapter *padapter, u32 status)
{
	padapter->HalData->srestpriv.Wifi_Error_Status = status;
}