Commit a5aa39e2 authored by Corey Minyard's avatar Corey Minyard Committed by Linus Torvalds

[PATCH] IPMI: Fix LAN bridging

The size of LAN bridged messages was not being returned properly from the
function that calculated address sizes.
Signed-off-by: default avatarCorey Minyard <minyard@acm.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bb540ffa
......@@ -443,6 +443,9 @@ unsigned int ipmi_addr_length(int addr_type)
return sizeof(struct ipmi_ipmb_addr);
}
if (addr_type == IPMI_LAN_ADDR_TYPE)
return sizeof(struct ipmi_lan_addr);
return 0;
}
......
Markdown is supported
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