commit | e56541d88e750e873a292cf2b3523c19f61ffb5c | [log] [tgz] |
---|---|---|
author | Ashwini Patil <apati@codeaurora.org> | Thu Mar 10 14:52:54 2016 +0530 |
committer | Ashwini Patil <apati@codeaurora.org> | Thu Mar 10 20:44:37 2016 +0530 |
tree | 555e53372bffe0b4316779e658b25d316ef9d147 | |
parent | 47233d33a57e1adb246bc96742c4fa194703f33f [diff] |
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