]> asedeno.scripts.mit.edu Git - linux.git/commit
ath6kl: improve endianness handling
authorKenneth Lu <kuohsianglu@gmail.com>
Sat, 2 Dec 2017 09:54:13 +0000 (17:54 +0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Dec 2017 14:35:17 +0000 (16:35 +0200)
commit5d24bcd56dc7e334cad365981da112aafbbb93a4
treeb4e816f010e227097230e676803e1e18b633bf62
parent42e01cb9cb109fb0bb4743f6c54d6aa67ac39b61
ath6kl: improve endianness handling

Replace ntohs with be16_to_cpu to do endian conversions for ethhdr
h_proto assignment.

Signed-off-by: Kenneth Lu <kuohsianglu@gmail.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/txrx.c