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
diff --git a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
index 4717441..4c66eba 100644
--- a/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
+++ b/wifi/supplicant/1.0/ISupplicantStaIfaceCallback.hal
@@ -209,12 +209,12 @@
/**
* 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);
};