OSDN Git Service

supplicant(interface): Fix compilation failure
authorRoshan Pius <rpius@google.com>
Wed, 16 Nov 2016 18:29:37 +0000 (10:29 -0800)
committerRoshan Pius <rpius@google.com>
Wed, 16 Nov 2016 18:29:37 +0000 (10:29 -0800)
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

index 4717441..4c66eba 100644 (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);
 };