diff options
Diffstat (limited to 'bcmdhd')
-rw-r--r-- | bcmdhd/wifi_hal/rtt.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bcmdhd/wifi_hal/rtt.cpp b/bcmdhd/wifi_hal/rtt.cpp index d6e7ca4..9812fe5 100644 --- a/bcmdhd/wifi_hal/rtt.cpp +++ b/bcmdhd/wifi_hal/rtt.cpp @@ -466,6 +466,9 @@ public: rttResults[i] = NULL; } totalCnt = currentIdx = 0; + WifiCommand *cmd = wifi_unregister_cmd(wifiHandle(), id()); + if (cmd) + cmd->releaseRef(); } return NL_SKIP; } |