1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-10 08:07:05 +00:00
rtl8812au/platform/platform_ops.c

33 lines
897 B
C
Raw Normal View History

2018-07-03 14:50:43 +00:00
/******************************************************************************
*
2019-05-24 19:43:57 +00:00
* Copyright(c) 2013 - 2017 Realtek Corporation.
2018-07-03 14:50:43 +00:00
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
2018-08-24 20:52:34 +00:00
*****************************************************************************/
2019-05-24 19:43:57 +00:00
#ifndef CONFIG_PLATFORM_OPS
/*
* Return:
* 0: power on successfully
* others: power on failed
*/
int platform_wifi_power_on(void)
{
int ret = 0;
2018-07-03 14:50:43 +00:00
2018-08-24 20:52:34 +00:00
2019-05-24 19:43:57 +00:00
return ret;
}
2018-07-03 14:50:43 +00:00
2019-05-24 19:43:57 +00:00
void platform_wifi_power_off(void)
{
}
#endif /* !CONFIG_PLATFORM_OPS */