WifiP2pWfdInfo: Only pass the wfd info to WifiNative

WifiP2pWfdInfo.getDeviceInfoHex() is used to set the WFD info in
wpa_supplicant. The length of this WFD info will be calculated and
prepended by the HIDL interface itself, so there is no need for this
length to prepended in the framework. So, get rid of it.

Bug: 38222615
Test: Compiles
Change-Id: If8ff6e558dad974a053265e0a8c8222943065823
This commit is contained in:
Roshan Pius
2017-05-16 09:17:37 -07:00
parent be030126fe
commit 65c494a548

View File

@@ -139,7 +139,7 @@ public class WifiP2pWfdInfo implements Parcelable {
public String getDeviceInfoHex() {
return String.format(
Locale.US, "%04x%04x%04x%04x", 6, mDeviceInfo, mCtrlPort, mMaxThroughput);
Locale.US, "%04x%04x%04x", mDeviceInfo, mCtrlPort, mMaxThroughput);
}
public String toString() {