Skip to content

Commit

Permalink
staging: vt6656: dead code removal : wpactl.c/h
Browse files Browse the repository at this point in the history
Relates to redundant viawget, a proprietary version of wpa supplicant.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Nov 27, 2012
1 parent 14d0fdb commit b3a6db9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 658 deletions.
1 change: 0 additions & 1 deletion drivers/staging/vt6656/device.h
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,6 @@ typedef struct __device_info {
//WPA supplicant daemon
struct net_device *wpadev;
BOOL bWPADEVUp;
struct sk_buff *skb;
//--

BOOL bwextstep0;
Expand Down
14 changes: 1 addition & 13 deletions drivers/staging/vt6656/main_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1188,9 +1188,9 @@ static void vt6656_disconnect(struct usb_interface *intf)

if (device->dev) {
unregister_netdev(device->dev);
wpa_set_wpadev(device, 0);
free_netdev(device->dev);
}

}

static int device_dma0_tx_80211(struct sk_buff *skb, struct net_device *dev)
Expand Down Expand Up @@ -1579,18 +1579,6 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
rc = vt6656_hostap_ioctl(pDevice, &wrq->u.data);
break;

case IOCTL_CMD_WPA:

if (!(pDevice->flags & DEVICE_FLAGS_OPENED)) {
rc = -EFAULT;
break;
} else {
rc = 0;
}

rc = wpa_ioctl(pDevice, &wrq->u.data);
break;

case SIOCETHTOOL:
return ethtool_ioctl(dev, (void *) rq->ifr_data);

Expand Down
Loading

0 comments on commit b3a6db9

Please sign in to comment.