From 4958c29f344a0c5e8489ef461def75c0b71869e5 Mon Sep 17 00:00:00 2001 From: Jean Tourrilhes Date: Thu, 30 Sep 2004 15:11:53 -0400 Subject: [PATCH] [PATCH] WE-17 typo fix Felix R. found a typo in the WE-17 patch I sent you and is pending in your tree (more correctly, an overzealous search&replace). The patch below fix this mistake. I would appreciate you adding this patch to your tree ;-) --- net/core/wireless.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/core/wireless.c b/net/core/wireless.c index de4d0e380b18a..ebb205a37dffe 100644 --- a/net/core/wireless.c +++ b/net/core/wireless.c @@ -862,7 +862,7 @@ static inline int ioctl_private_call(struct net_device * dev, return -EFAULT; /* Does it fits within bounds ? */ - if(iwr->u.data.length > (descr->get_args & + if(iwr->u.data.length > (descr->set_args & IW_PRIV_SIZE_MASK)) return -E2BIG; } else { -- 2.53.0