net: wireless: bcmdhd: check packet length for event messages

Check the datalen field is less than the size of
packet received from the network.

Bug: 25306181

Signed-off-by: Patrick Tjin <pattjin@google.com>
Change-Id: I3b021d88a95bd7d4e6e0d745d2527d73487bcadc
(cherry picked from commit 10b850b7e82873a14068d24dac4fc2080d46ff76)
3 files changed