summaryrefslogtreecommitdiffstats
path: root/sys/dev/my
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/my')
-rw-r--r--sys/dev/my/if_my.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/my/if_my.c b/sys/dev/my/if_my.c
index 99f6071..951473a 100644
--- a/sys/dev/my/if_my.c
+++ b/sys/dev/my/if_my.c
@@ -902,8 +902,8 @@ my_attach(device_t dev)
ifp->if_start = my_start;
ifp->if_init = my_init;
ifp->if_baudrate = 10000000;
- IFQ_SET_MAXLEN(&ifp->if_snd, IFQ_MAXLEN);
- ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN;
+ IFQ_SET_MAXLEN(&ifp->if_snd, ifqmaxlen);
+ ifp->if_snd.ifq_drv_maxlen = ifqmaxlen;
IFQ_SET_READY(&ifp->if_snd);
if (sc->my_info->my_did == MTD803ID)
OpenPOWER on IntegriCloud