mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
No description
- C 98.2%
- Assembly 1%
- Makefile 0.3%
- Shell 0.2%
- Python 0.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
As a part of driver load, a device file /dev/wlan is created to provide control to the userspace to turn ON and OFF the wifi. This file also acts as a holding-the-context entity for the userspace till the host driver and firmware are properly up and ready as a part of driver probe. In a scenario where driver probe fails, there can be an occurrence of a race condition wherein the driver gets unloaded in the probe error path before the userspace releases the control of the /dev/wlan file. This leads to a NULL pointer access as the file memory gets deleted as part of driver unload. To achieve a serialization between the userspace context, where file is being accessed, and the driver context, where unload is being done, implement a simple reference counting through which the driver unload waits till userspace cleanly releases access to the file. Change-Id: I3dc214397c53b76111da33dc0ae6db296fc98cb4 CRs-Fixed: 2660321 |
||
| components | ||
| configs | ||
| core | ||
| os_if | ||
| uapi/linux | ||
| Android.mk | ||
| Kbuild | ||
| Kconfig | ||
| Makefile | ||
| README.txt | ||
This is CNSS WLAN Host Driver for products starting from iHelium