From: Subhani Shaik Date: Wed, 4 Jan 2017 18:51:03 +0000 (-0800) Subject: [AWARE]: Error code fix in NdpIndiatorRequest X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=3cdbc4476469f661c018a01de29369091e71fd2c;p=android-x86%2Fhardware-libhardware_legacy.git [AWARE]: Error code fix in NdpIndiatorRequest Bug: 32207606 Test: integration (sl4a) tests passing - no regressions Change-Id: I0d0e995b8506b3fe44cd0dc419a187739fa448de --- diff --git a/include/hardware_legacy/wifi_nan.h b/include/hardware_legacy/wifi_nan.h index 769984f..dccfcd5 100644 --- a/include/hardware_legacy/wifi_nan.h +++ b/include/hardware_legacy/wifi_nan.h @@ -150,20 +150,18 @@ typedef enum { NAN_STATUS_INVALID_PARAM = 5, /* if the requestor instance id is invalid */ NAN_STATUS_INVALID_REQUESTOR_INSTANCE_ID = 6, - /* if the service instance id is invalid */ - NAN_STATUS_INVALID_SERVICE_INSTANCE_ID = 7, /* if the ndp id is invalid */ - NAN_STATUS_INVALID_NDP_ID = 8, + NAN_STATUS_INVALID_NDP_ID = 7, /* if NAN is enabled when wifi is turned off */ - NAN_STATUS_NAN_NOT_ALLOWED = 9, + NAN_STATUS_NAN_NOT_ALLOWED = 8, /* if over the air ack is not received */ - NAN_STATUS_NO_OTA_ACK = 10, + NAN_STATUS_NO_OTA_ACK = 9, /* If NAN is already enabled and we are try to re-enable the same */ - NAN_STATUS_ALREADY_ENABLED = 11, + NAN_STATUS_ALREADY_ENABLED = 10, /* If followup message internal queue is full */ - NAN_STATUS_FOLLOWUP_QUEUE_FULL = 12, + NAN_STATUS_FOLLOWUP_QUEUE_FULL = 11, /* Unsupported concurrency session enabled, NAN disabled notified */ - NAN_STATUS_UNSUPPORTED_CONCURRENCY_NAN_DISABLED = 13 + NAN_STATUS_UNSUPPORTED_CONCURRENCY_NAN_DISABLED = 12 } NanStatusType; /* NAN Transmit Types */ @@ -1913,7 +1911,7 @@ typedef struct { This is same as publish_id notified on the subscribe side in a publish/subscribe scenario */ - u32 service_instance_id; /* Value 0 for no publish/subscribe */ + u32 requestor_instance_id; /* Value 0 for no publish/subscribe */ /* Config flag for channel request */ NanDataPathChannelCfg channel_request_type; @@ -2322,7 +2320,7 @@ wifi_error nan_data_interface_delete(transaction_id id, * NAN_STATUS_INVALID_PARAM * NAN_STATUS_INTERNAL_FAILURE * NAN_STATUS_PROTOCOL_FAILURE - * NAN_STATUS_INVALID_SERVICE_INSTANCE_ID + * NAN_STATUS_INVALID_REQUESTOR_INSTANCE_ID */ wifi_error nan_data_request_initiator(transaction_id id, wifi_interface_handle iface,