dump CIS table ioctl?
Dan Williams
dcbw at redhat.com
Mon Dec 11 22:04:10 EST 2006
On Mon, 2006-12-11 at 20:53 -0200, Marcelo Tosatti wrote:
> Ronak,
>
> Currently there's ioctl code to read the CIS table:
Isn't CIS PCMCIA specific? Or is does it also pertain to other stuff
like SDIO?
Dan
> 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;
>
> ENTER();
>
> 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;
> }
>
> LEAVE();
> return ret;
> }
>
> However its never initialized and there's no firmware command documented
> about it either.
>
> Can we drop it or what ?
>
>
> _______________________________________________
> libertas-dev mailing list
> libertas-dev at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/libertas-dev
More information about the libertas-dev
mailing list