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
This commit is contained in:
Roshan Pius 2016-11-16 10:29:37 -08:00
parent 06a3daad19
commit 9e01c51793

View file

@ -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);
};