diff options
Diffstat (limited to 'drivers/ar6000')
-rw-r--r-- | drivers/ar6000/ar6000/wireless_ext.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/ar6000/ar6000/wireless_ext.c b/drivers/ar6000/ar6000/wireless_ext.c index 0aa4bdc1a5c..da82ad0c02a 100644 --- a/drivers/ar6000/ar6000/wireless_ext.c +++ b/drivers/ar6000/ar6000/wireless_ext.c @@ -245,10 +245,7 @@ ar6000_ioctl_giwscan(struct net_device *dev, } } - if(!(data->length = param.current_ev - extra)) { - printk("%s(): data length %d\n", __FUNCTION__, data->length); - return -EAGAIN; - } + data->length = param.current_ev - extra; return 0; } |