Commit 57a01cd3 authored by 's avatar
Browse files

Added at-least-default cap_length 1500.

git-svn-id: file:///home/svn/mapi/trunk@1481 8d5bb341-7cf1-0310-8cf6-ba355fef3186
parent d5d83b52
......@@ -409,6 +409,14 @@ mapidrv_create_flow (int devid, int fd, char **devtype)
i->hwinfo.devfd = (int)i->napatechhandle;
/* TODO cap_length from hw */
if (i->hwinfo.cap_length==0) {
DEBUG_CMD(Debug_Message("WARNING: Could not get info hardware-info, using default = 1500"));
DEBUG_CMD(Debug_Message("mapinapatechdrv: mapidrv_create_flow; NTCI_CardIdentification() = %d", NTCI_CardIdentification(i->napatechhandle)));
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