fix braino in mwifiex_fw_dump_info_event()
Subsystems (3)
PATCH 1/1 fix braino in mwifiex_fw_dump_info_event()
... and on little-endian host it even worked ;-)
Signed-off-by Al Viro <[email protected]>
---
drivers/net/wireless/marvell/mwifiex/sta_event.c +1 -1
@@ -631,7 +631,7 @@ mwifiex_fw_dump_info_event(struct mwifiex_private *priv, adapter->event_skb->data, event_skb->len); adapter->devdump_len += event_skb->len; -if (le16_to_cpu (fw_dump_hdr->type ==FW_DUMP_INFO_ENDED )) { +if (le16_to_cpu (fw_dump_hdr->type) ==FW_DUMP_INFO_ENDED ) {mwifiex_dbg (adapter,MSG ,"receive end of transmission flag event!\n" ); goto upload_dump;