Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arne Øslebø
mapi
Commits
57a01cd3
Commit
57a01cd3
authored
Mar 06, 2009
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/drivers/mapinapatechdrv.c
View file @
57a01cd3
...
...
@@ -409,6 +409,14 @@ mapidrv_create_flow (int devid, int fd, char **devtype)
i
->
hwinfo
.
devfd
=
(
int
)
i
->
napatechhandle
;
i
->
hwinfo
.
cap_length
=
0
;
/* 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"
));
i
->
hwinfo
.
cap_length
=
1500
;
}
DEBUG_CMD
(
Debug_Message
(
"mapinapatechdrv: mapidrv_create_flow; NTCI_CardIdentification() = %d"
,
NTCI_CardIdentification
(
i
->
napatechhandle
)));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment