commit | f12b154a145cefcf080f55db3eb4294862bab5be | [log] [tgz] |
---|---|---|
author | Bapiraju Alla <balla@codeaurora.org> | Tue Jan 19 22:12:58 2021 +0530 |
committer | Bapiraju Alla <balla@codeaurora.org> | Tue Jan 19 22:27:10 2021 +0530 |
tree | e08f699214feddb55f45806add6dabea88199776 | |
parent | f8ed4b23c33d9d761a08a419934d22c351ee3017 [diff] |
wlan: Decode length field in the ANI msg header PTT socket app is using ntohs conversion to fill message length in ANI message header. But the driver is accessing this length field directly without any conversion. Because of this the length check is failing in the driver even for valid netlink messages. To avoid this, decode the ani message length using be16_to_cpu. Change-Id: I7405520867a231cf5589650f93d11629aa3f43f8 CRs-Fixed: 2860983