HAL: Fix not to crash by deprecated code

Multiple hal daemon crash issues which occured by memcpy with invalid address are reported.
      #00 pc 000000000004edcc  /apex/com.android.runtime/lib64/bionic/libc.so (__memcpy+284) (BuildId: f4bbb65957cf1dbe210e337f4656bdbc)
      #01 pc 00000000000388f8  /vendor/lib64/libwifi-hal.so (GetLinkStatsCommand::handleResponse(WifiEvent&)+1016) (BuildId: 17e0eae73546034631ce75e7dc274029)
      #02 pc 0000000000026260  /vendor/lib64/libwifi-hal.so (WifiCommand::response_handler(nl_msg*, void*)+160) (BuildId: 17e0eae73546034631ce75e7dc274029)

In some cases, this call flow can be proccessed even this code is deprecated.
so, we can remove this code to avoid hal daemon crash issue

Bug: 235782242
Test: halutil -stats
Signed-off-by: Dennis Jeon <dennis.jeon@broadcom.com>
Change-Id: Ibc316e5087b8ed5ea0eac5311c103ff722ab4ef0
1 file changed
tree: f7806cd163b501c103a0ff3256b3019a96fd41d0
  1. bcmdhd/
  2. .gitignore
  3. CleanSpec.mk
  4. METADATA
  5. OWNERS