From 9e01c51793403f21153db7fd81d1592fe6b953bf Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Wed, 16 Nov 2016 10:29:37 -0800 Subject: [PATCH] supplicant(interface): Fix compilation failure The generated code uses the variable |code| internally. Bug: 31116047 Test: mmm -j32 hardware/interfaces/wifi/supplicant/1.0/ Change-Id: Ic6d0c9a198a026460f67fa4920b8003a304f6727 --- wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal index 4717441958..4c66eba4a0 100644 --- a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal +++ b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal @@ -209,12 +209,12 @@ interface ISupplicantStaIfaceCallback { /** * Used to indicate a Hotspot 2.0 imminent deauth notice. - * @param code Code to indicate the deauth reason. + * @param reasonCode Code to indicate the deauth reason. * Refer to section 3.2.1.2 of the Hotspot 2.0 spec. * @param reAuthDelayInSec Delay before reauthenticating. * @param url URL of the server. */ - oneway onHs20DeauthImminentNotice(uint32_t code, + oneway onHs20DeauthImminentNotice(uint32_t reasonCode, uint32_t reAuthDelayInSec, string url); };