patch-2.1.116 linux/net/wanrouter/wanmain.c
Next file: linux/CREDITS
Previous file: linux/net/sunrpc/xprt.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sun Aug 16 13:34:44 1998
- Orig file:
v2.1.115/linux/net/wanrouter/wanmain.c
- Orig date:
Wed Jun 24 22:54:14 1998
diff -u --recursive --new-file v2.1.115/linux/net/wanrouter/wanmain.c linux/net/wanrouter/wanmain.c
@@ -25,6 +25,7 @@
* Oct 15, 1997 Farhan Thawar changed wan_encapsulate to add a pad byte of 0
* Apr 20, 1998 Alan Cox Fixed 2.1 symbols
* May 17, 1998 K. Baranowski Fixed SNAP encapsulation in wan_encapsulate
+* Aug 15, 1998 Arnaldo C. Melo Fixed device_setup return value
*****************************************************************************/
#include <linux/stddef.h> /* offsetof(), etc. */
@@ -466,7 +467,7 @@
if(!copy_from_user(data, conf->data, conf->data_size))
{
conf->data=data;
- wandev->setup(wandev,conf);
+ err = wandev->setup(wandev,conf);
}
else
err = -ENOBUFS;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov