mirror of
https://github.com/pvvx/RTL00MP3.git
synced 2025-07-31 12:41:06 +00:00
update
This commit is contained in:
parent
4cf5fcf936
commit
151c53c5ce
11 changed files with 2342 additions and 2339 deletions
|
@ -157,10 +157,10 @@ void patch_rltk_wlan_deinit(void) {
|
|||
uint8_t chk;
|
||||
if (rltk_wlan_info[0].enable || rltk_wlan_info[0].enable) {
|
||||
_adapter *ad = rltk_wlan_info[0].dev->priv;
|
||||
ad->bSurpriseRemoved = 1; // + 5892
|
||||
rtw_wakeup_task(&ad->isrThread.task); // +5912
|
||||
ad->bSurpriseRemoved = 1;
|
||||
rtw_wakeup_task(&ad->isrThread.task);
|
||||
while (1) {
|
||||
save_and_cli(); // taskENTER_CRITICAL(); // vPortEnterCritical()
|
||||
save_and_cli(); // = taskENTER_CRITICAL(); // = vPortEnterCritical()
|
||||
rltk_wlan_info[0].enable = 0;
|
||||
rltk_wlan_info[1].enable = 0;
|
||||
chk = rltk_wlan_info[0].tx_busy + rltk_wlan_info[0].rx_busy
|
||||
|
|
|
@ -442,8 +442,6 @@ static void vProcessConnection( struct netconn *pxNetCon );
|
|||
rtw_wifi_setting_t wifi_setting = {RTW_MODE_NONE, {0}, 0, RTW_SECURITY_OPEN, {0}};
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef WLAN0_NAME
|
||||
#define WLAN0_NAME "wlan0"
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue