Skip to content
Commit 5ba0eac6 authored by Jiri Benc's avatar Jiri Benc Committed by David S. Miller
Browse files

[NET]: Fix HH_DATA_OFF.



When the hardware header size is a multiple of HH_DATA_MOD, HH_DATA_OFF()
incorrectly returns HH_DATA_MOD (instead of 0). This affects ieee80211 layer
as 802.11 header is 32 bytes long.

Signed-off-by: default avatarJiri Benc <jbenc@suse.cz>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b597ef47
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