Skip to content
Commit e7b56b14 authored by Colin Vidal's avatar Colin Vidal Committed by Greg Kroah-Hartman
Browse files

staging/rtl8192u: add endianness conversions



Fields frag_size and playload_size of struct ieee80211_txb are encoded
as short little-endian. This patch adds conversions to / from cpu byte
order when copy / write these values in variables of architecture
independent byte order. It also avoid a sparse type warning.

Signed-off-by: default avatarColin Vidal <colin@cvidal.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3e99c2d2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment