]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/wlags49_h2/wl_main.c
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / drivers / staging / wlags49_h2 / wl_main.c
index 16764a0009428ed1499cab6d9eb52fb4eeac27f5..cf0c38468b201c98b326aca5449b0ca9a86d8927 100644 (file)
@@ -3792,7 +3792,7 @@ static int write_int(struct file *file, const char *buffer, unsigned long count,
        }
        if  (count > 0 ) {
                proc_number[count] = 0;
-               nr = wl_atoi( proc_number );
+               nr = simple_strtoul(proc_number , NULL, 0);
                *(unsigned int *)data = nr;
                if ( nr & 0x8000 ) {    //;?kludgy but it is unclear to me were else to place this
 #if DBG