]> git.baikalelectronics.ru Git - kernel.git/commit
staging: rtl8723au: Fix endian abnormality in mlme_evt_hdl23a()
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 9 May 2014 13:03:18 +0000 (15:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:11:56 +0000 (13:11 -0700)
commit12b4d7f04e66b6a85d734ee2069870217298c461
tree4e1167f74fc1e8c275f880a1f1e1ee573f3a82b0
parent1fe0b6f17aa18a7b4a87209d3bd91cad11ab7eb8
staging: rtl8723au: Fix endian abnormality in mlme_evt_hdl23a()

Every other place uses C2HEvent_Header() for events. Given the struct
is endian dependant, use it here too to retrieve data from the parm
buffer.

Note the length field is not set/read in le order - question is
whether it's simply an opaque field?

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c