am f02dfc26: Use real rssi value for rssi-approx command (http://b/2213699)
Merge commit 'f02dfc26f9c2a492e066582e7c739e11b0e88ff5' into eclair-mr2
* commit 'f02dfc26f9c2a492e066582e7c739e11b0e88ff5':
Use real rssi value for rssi-approx command (http://b/2213699)
diff --git a/os_unix.c b/os_unix.c
index edb160a..8498b15 100644
--- a/os_unix.c
+++ b/os_unix.c
@@ -181,7 +181,7 @@
/* We ignore errors here since errors are normal if we
* are already running as non-root.
*/
- gid_t groups[] = { AID_INET, AID_WIFI, AID_KEYSTORE };
+ gid_t groups[] = { AID_INET, AID_WIFI };
setgroups(sizeof(groups)/sizeof(groups[0]), groups);
prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);