diff options
author | Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> | 2017-07-28 01:06:48 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-08-03 11:58:12 +0200 |
commit | fd19ecebe03e7d7d468a246b8078d062b8e8db25 (patch) | |
tree | c95489ffc9b38423ceb3701d3c744179d45d055e /drivers/net/wireless/quantenna/qtnfmac/qlink.h | |
parent | qtnfmac: implement reporting current channel (diff) | |
download | linux-fd19ecebe03e7d7d468a246b8078d062b8e8db25.tar.xz linux-fd19ecebe03e7d7d468a246b8078d062b8e8db25.zip |
qtnfmac: fix station leave reason endianness
Use proper endianness conversion for client station leave reason.
Signed-off-by: Igor Mitsyanko <igor.mitsyanko.os@quantenna.com>
Signed-off-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com>
Signed-off-by: Avinash Patil <avinashp@quantenna.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/quantenna/qtnfmac/qlink.h')
-rw-r--r-- | drivers/net/wireless/quantenna/qtnfmac/qlink.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/quantenna/qtnfmac/qlink.h b/drivers/net/wireless/quantenna/qtnfmac/qlink.h index 6c6940b503a4..5c2d8f0abd7f 100644 --- a/drivers/net/wireless/quantenna/qtnfmac/qlink.h +++ b/drivers/net/wireless/quantenna/qtnfmac/qlink.h @@ -733,7 +733,7 @@ struct qlink_event_bss_join { */ struct qlink_event_bss_leave { struct qlink_event ehdr; - u16 reason; + __le16 reason; } __packed; enum qlink_rxmgmt_flags { |