Add net_raw and net_admin capabilities for hostapd
On some platform the extended capabilities in fs_config.c is
not sourced. We need specify them in the rc file.
Bug: 62112526
Test: compile, manual test
Change-Id: I7cfbbe91f7003a9c60538ad007f888c07b75afaf
diff --git a/hostapd/hostapd.android.rc b/hostapd/hostapd.android.rc
index 08ea488..672e188 100644
--- a/hostapd/hostapd.android.rc
+++ b/hostapd/hostapd.android.rc
@@ -14,7 +14,7 @@
/data/misc/wifi/hostapd.conf
class main
user wifi
- group wifi
+ group wifi net_raw net_admin
writepid /data/misc/wifi/hostapd.pid
disabled
oneshot