commit | e7b56b14b87964c8caeb9e9ee7e823f578c0dc1e | [log] [tgz] |
---|---|---|
author | Colin Vidal <colin@cvidal.org> | Thu Jan 26 20:22:00 2017 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Jan 27 09:42:32 2017 +0100 |
tree | 7ed6f3c7565346c771947c7cb174118842522fc3 | |
parent | 3e99c2d2405fd10765c8d154961f5ae6bfebf890 [diff] |
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: Colin Vidal <colin@cvidal.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>