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>
This commit is contained in:
Sergey Matyukevich
2017-07-28 02:06:48 +03:00
committed by Kalle Valo
parent 278944482b
commit fd19ecebe0
2 changed files with 3 additions and 3 deletions

View File

@@ -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 {