dump CIS table ioctl?

Marcelo Tosatti marcelo at kvack.org
Mon Dec 11 17:53:40 EST 2006


Currently there's ioctl code to read the CIS table:

static int getcis_ioctl(struct net_device *dev, struct iw_request_info *info,
                        union iwreq_data *wrqu, char *extra)
        int ret = WLAN_STATUS_SUCCESS;
        wlan_private *priv = dev->priv;
        wlan_adapter *Adapter = priv->adapter;


        if (wrqu->data.pointer) {
                if (copy_to_user(wrqu->data.pointer, Adapter->CisInfoBuf,
                                 Adapter->CisInfoLen)) {
                        dprintk(1, "Copy to user failed\n");
                        return -EFAULT;
                wrqu->data.length = Adapter->CisInfoLen;

        return ret;

However its never initialized and there's no firmware command documented
about it either.

Can we drop it or what ?

More information about the libertas-dev mailing list