Skip to content
Commit b8b27752 authored by Oliver Neukum's avatar Oliver Neukum Committed by David S. Miller
Browse files

aqc111: fix endianness issue in aqc111_change_mtu



If the MTU is large enough, the first write to the device
is just repeated. On BE architectures, however, the first
word of the command will be swapped a second time and garbage
will be written. Avoid that.

Signed-off-by: default avatarOliver Neukum <oneukum@suse.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 873017af
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