[NET]: Fix HH_DATA_OFF.
authorJiri Benc <jbenc@suse.cz>
Thu, 2 Jun 2005 23:48:05 +0000 (16:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jun 2005 23:48:05 +0000 (16:48 -0700)
commit5ba0eac6e0b7e2889649a1105d97c600595e2bb1
treee7bc652889162d1b7997e779ce5a5fef4355838f
parentb597ef4712c05c962640a655386a7f06cc1a1fbc
[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: Jiri Benc <jbenc@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h