Changeset 3480


Ignore:
Timestamp:
2006-03-25T13:36:44+01:00 (10 years ago)
Author:
mbm
Message:

fix compiler error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/whiterussian/openwrt/package/wificonf/wificonf.c

    r3478 r3480  
    407407                bcom_ioctl(skfd, ifname, WLC_SET_FRAG, &val, sizeof(val)); 
    408408        } 
    409         if ((val = strtol(nvram_safe_get(wl_var("rate")))) > 0,NULL,0) { 
     409        if ((val = strtol(nvram_safe_get(wl_var("rate")),NULL,0)) > 0) { 
    410410                val /= 500000; 
    411411                bcom_ioctl(skfd, ifname, WLC_SET_RATE, &val, sizeof(val)); 
     
    631631} 
    632632 
    633 static void set_wext_mode(skfd, ifname) 
     633static void set_wext_mode(int skfd, char *ifname) 
    634634{ 
    635635        struct iwreq wrq; 
Note: See TracChangeset for help on using the changeset viewer.