| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
The cleanup needs to cancel commands, not the event handlers;
and needs a while loop instead of a for loop.
Also added command names to identify which commands are causing
problems.
Bug: 22302517
Change-Id: I93c3e51f7cd3ad62c1a34eeb5708d9552e37342b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There are two locks, one in HAL which takes care of adding/removing event
handlers from a common data structure; and another in the Framework
which synchronizes access to WifiNative. Commands and events grab these
locks in opposite order, and hence can cause deadlock.
This change fixes the deadlock by holding on to the HAL lock only for
a short time. This is achieved by refcounting the commands so they
don't have to be destroyed while holding locks.
Bug: 16660861
Change-Id: I35f9f688c8c1ddb2116b228c52e0bb1125df0568
|
|
|
|
| |
Change-Id: I25181c40de7cce0ea97ee069739486f799f2a727
|
|
This change moves all Wifi HAL headers to libhardware_legacy; and moves
hal implementation under hardware/<vendor>/wlan. This way different
vendors will be able to tailor implementation to their drivers.
Change-Id: I55789bb6788ab694f4896aa36d76f7887b32dad6
|