mac80211: fix incorrect mesh header length

This should have been updated at the same time we were transitioning from 3 byte
to 4 byte mesh sequence number. Pointed out by Johannes Berg.

Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
Luis Carlos Cobo
2008-05-05 12:02:35 -07:00
committed by John W. Linville
parent df44205455
commit ef26925477
2 changed files with 6 additions and 6 deletions

View File

@@ -153,15 +153,15 @@ int ieee80211_get_mesh_hdrlen(struct ieee80211s_hdr *meshhdr)
/* 7.1.3.5a.2 */
switch (ae) {
case 0:
return 5;
return 6;
case 1:
return 11;
return 12;
case 2:
return 17;
return 18;
case 3:
return 23;
return 24;
default:
return 5;
return 6;
}
}