Ticket #109 (closed defect: fixed)
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
Change History
Note: See
TracTickets for help on using
tickets.

