]> git.baikalelectronics.ru Git - kernel.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)
commit559cb662e776bbf8146faa69c2052b148bc33bc1
treeb4e816f010e227097230e676803e1e18b633bf62
parent021f69abb6fbfeb646a4620387fb5fe4ef4e034f
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