Wifi-HAL: Extract wmsg length from nlmsg_hdr with ntohs()

Driver swaps the wmsg length based on endianness for
ANI_NL_MSG_PUMAC messages. So, use ntohs() to get correct length
of wmsg. The reason this swap is done in Wi-Fi HAL is to co work
with the already existing tools that already does the same while
operating with the host driver.

Change-Id: I6c3477f534f41fac3d753c48a0e6c4dfafa5eba2
CRs-Fixed: 985427
1 file changed
tree: 555e53372bffe0b4316779e658b25d316ef9d147
  1. qcwcn/
  2. wcnss-service/