Merge "wifi: Do not use prefix for p2p commands" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b3acd8ef26
@ -82,8 +82,13 @@ public class WifiNative {
|
||||
|
||||
public WifiNative(String interfaceName) {
|
||||
mInterfaceName = interfaceName;
|
||||
mInterfacePrefix = "IFNAME=" + interfaceName + " ";
|
||||
mTAG = "WifiNative-" + interfaceName;
|
||||
if (!interfaceName.equals("p2p0")) {
|
||||
mInterfacePrefix = "IFNAME=" + interfaceName + " ";
|
||||
} else {
|
||||
// commands for p2p0 interface don't need prefix
|
||||
mInterfacePrefix = "";
|
||||
}
|
||||
}
|
||||
|
||||
public boolean connectToSupplicant() {
|
||||
|
Reference in New Issue
Block a user