diff options
author | Christopher Wiley <wiley@google.com> | 2016-08-22 10:23:22 -0700 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2016-08-22 18:05:33 -0700 |
commit | 1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f (patch) | |
tree | a976c7d64b1851f861561227c9602bf24438840e /libwifi_hal/include | |
parent | b8157c6e5b77e3503757cedcc4e62f49309c106b (diff) | |
download | android_frameworks_opt_net_wifi-1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f.tar.gz android_frameworks_opt_net_wifi-1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f.tar.bz2 android_frameworks_opt_net_wifi-1d3a41b9b46eb573058fdd7422d4ebc5b4f1108f.zip |
Allow wificond to run as wifi:wifi
Expose the firmware path from libwifi_hal.
We need to access this at wificond startup to chown the firmware
reload path to wifi:wifi.
Remove some superfluous chown calls. The callsites should only
be used from wificond.
Bug: 29870863
Test: wificond unit and integration tests pass
Change-Id: If2fa38be252999a01f6d967ca8601d1789318103
Diffstat (limited to 'libwifi_hal/include')
-rw-r--r-- | libwifi_hal/include/wifi_hal/driver_tool.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libwifi_hal/include/wifi_hal/driver_tool.h b/libwifi_hal/include/wifi_hal/driver_tool.h index f1a43cc0c..376d17d93 100644 --- a/libwifi_hal/include/wifi_hal/driver_tool.h +++ b/libwifi_hal/include/wifi_hal/driver_tool.h @@ -27,6 +27,8 @@ class DriverTool { static const int kFirmwareModeAp; static const int kFirmwareModeP2p; + static const char kFirmwareReloadPath[]; + DriverTool() = default; virtual ~DriverTool() = default; |