Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e01c517 authored by Roshan Pius's avatar Roshan Pius
Browse files

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
parent 06a3daad
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
};