summaryrefslogtreecommitdiff
path: root/wifi/1.0/default/hidl_struct_util.cpp
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-02-16 13:02:43 -0800
committerEtan Cohen <etancohen@google.com>2017-02-17 02:41:09 +0000
commit09a604b41a8aef2427740a10c27cbd970807c0d7 (patch)
treed6d96d92ef8fa3417d8cdb3fc77cc096c80f7f00 /wifi/1.0/default/hidl_struct_util.cpp
parent801f78cc0595707be4a504c97f66a9bf95fc7feb (diff)
[AWARE] Add capability info: max subscribe addresses
Add capability to provide maximum number of subscribe addresses that can be specified in a discovery session configuration. Bug: 34059183 Test: integration (sl4a) tests pass Change-Id: I5aa875cf8f43a7ad215b52e2cf917dfbbb3b1195
Diffstat (limited to 'wifi/1.0/default/hidl_struct_util.cpp')
-rw-r--r--wifi/1.0/default/hidl_struct_util.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/wifi/1.0/default/hidl_struct_util.cpp b/wifi/1.0/default/hidl_struct_util.cpp
index 4dd1ba63f0..6c40c4b2f0 100644
--- a/wifi/1.0/default/hidl_struct_util.cpp
+++ b/wifi/1.0/default/hidl_struct_util.cpp
@@ -1285,8 +1285,7 @@ bool convertLegacyNanCapabilitiesResponseToHidl(
hidl_response->maxNdpSessions = legacy_response.max_ndp_sessions;
hidl_response->maxAppInfoLen = legacy_response.max_app_info_len;
hidl_response->maxQueuedTransmitFollowupMsgs = legacy_response.max_queued_transmit_followup_msgs;
- // TODO: b/34059183 to add to underlying HAL
- hidl_response->maxSubscribeInterfaceAddresses = NAN_MAX_SUBSCRIBE_MAX_ADDRESS;
+ hidl_response->maxSubscribeInterfaceAddresses = legacy_response.max_subscribe_address;
hidl_response->supportedCipherSuites = legacy_response.cipher_suites_supported;
return true;