1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2025-02-05 06:44:36 +08:00
rtl8812au/platform/platform_ops.c

33 lines
897 B
C
Raw Normal View History

2018-07-03 16:50:43 +02:00
/******************************************************************************
*
2019-05-24 21:43:57 +02:00
* Copyright(c) 2013 - 2017 Realtek Corporation.
2018-07-03 16:50:43 +02: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 22:52:34 +02:00
*****************************************************************************/
2019-05-24 21:43:57 +02: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 16:50:43 +02:00
2018-08-24 22:52:34 +02:00
2019-05-24 21:43:57 +02:00
return ret;
}
2018-07-03 16:50:43 +02:00
2019-05-24 21:43:57 +02:00
void platform_wifi_power_off(void)
{
}
#endif /* !CONFIG_PLATFORM_OPS */