Soundtrigger service: fix status reporting in loadSoundModel

Fix regression introduced by commit a188af07 cherry-pick
of fix for issue b/67310830

Bug: 64340921
Bug: 67310830
Test: repro steps in b/67310830
Change-Id: I718f47d913e1b98e567b7e1559f1f4cc1b29b231
Merged-In: Ie50b2e7c55fe9828a3fd8de6b31eb4a492791583
(cherry picked from commit 82acb6c905959c92745f4f98e237ccd9ce64be28)
diff --git a/services/soundtrigger/SoundTriggerHwService.cpp b/services/soundtrigger/SoundTriggerHwService.cpp
index c6dcd01..5ae0356 100644
--- a/services/soundtrigger/SoundTriggerHwService.cpp
+++ b/services/soundtrigger/SoundTriggerHwService.cpp
@@ -586,11 +586,11 @@
             goto exit;
         }
 
-        status_t status = mHwDevice->load_sound_model(mHwDevice,
-                                                      sound_model,
-                                                      SoundTriggerHwService::soundModelCallback,
-                                                      this,
-                                                      handle);
+        status = mHwDevice->load_sound_model(mHwDevice,
+                                             sound_model,
+                                             SoundTriggerHwService::soundModelCallback,
+                                             this,
+                                             handle);
         if (status != NO_ERROR) {
             goto exit;
         }