netdev
[Top] [All Lists]

WE-17 typo fix

To: Jeff Garzik <jgarzik@xxxxxxxxx>, netdev@xxxxxxxxxxx
Subject: WE-17 typo fix
From: Jean Tourrilhes <jt@xxxxxxxxxxxxxxxxxx>
Date: Tue, 28 Sep 2004 11:46:25 -0700
Address: HP Labs, 1U-17, 1501 Page Mill road, Palo Alto, CA 94304, USA.
E-mail: jt@xxxxxxxxxx
Organisation: HP Labs Palo Alto
Reply-to: jt@xxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.3.28i
        Hi Jeff,

        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 ;-)

        Have fun...

        Jean

------------------------------------------------------------------

diff -u -p linux/net/core/wireless.we17.c linux/net/core/wireless.c
--- linux/net/core/wireless.we17.c      Tue Sep 28 11:34:04 2004
+++ linux/net/core/wireless.c   Tue Sep 28 11:34:33 2004
@@ -867,7 +867,7 @@ static inline int ioctl_private_call(str
                                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 {

<Prev in Thread] Current Thread [Next in Thread>