Ticket #109 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

Wifi unable to stop

Reported by: furies Owned by: furies
Priority: major Milestone: Android 2.2 alpha4
Component: Android 2.2 Version: Android 2.2 - alpha2
Keywords: Cc:

Description

With the latest alpha2, once the wifi is loaded, it can't be stopped.
There's a mistake in hardware/libhardware_legacy/wifi/wifi.c:
line 329 -> "if (rmmod(DRIVER_MODULE_NAME1) == 0 && rmmod(DRIVER_MODULE_NAME2) == 0) {" should be -> "if (rmmod(DRIVER_MODULE_NAME2) == 0 && rmmod(DRIVER_MODULE_NAME1) == 0) {" because stdio.ko is used by tiwlan_drv.ko so it can't be unload if tiwlan_drv.ko is still loaded.

Attachments

wifi.c Download (16.9 KB) - added by furies 3 years ago.
working wifi.c

Change History

Changed 3 years ago by furies

  • owner changed from bubu to furies
  • status changed from new to assigned

Changed 3 years ago by furies

As nobody made the mod, I'll up the wifi.c which works later

Changed 3 years ago by dm8tbr

Great, thanks!
While you're at it, can you please take a look at the 'patch' in #117 and if it's sound commit the second half too?

Changed 3 years ago by furies

working wifi.c

Changed 3 years ago by furies

  • status changed from assigned to closed
  • resolution set to fixed

Changed 2 years ago by anonymous

doesnt working

Add/Change #109 (Wifi unable to stop)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.