Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 197140
b: refs/heads/master
c: ecf739e
h: refs/heads/master
v: v3
  • Loading branch information
Forest Bond authored and Greg Kroah-Hartman committed May 11, 2010
1 parent 502fe5e commit 3f2389c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c30d7973f22ea3f8b3e5d1d7215b3f2ff8f5e934
refs/heads/master: ecf739e695d5aa404326100c0ba93c211e87a0fe
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/device_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1243,7 +1243,7 @@ device_release_WPADEV(pDevice);
}
#ifdef HOSTAP
if (dev)
hostap_set_hostapd(pDevice, 0, 0);
vt6655_hostap_set_hostapd(pDevice, 0, 0);
#endif
if (dev)
unregister_netdev(dev);
Expand Down Expand Up @@ -3524,7 +3524,7 @@ static int device_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) {
case IOCTL_CMD_HOSTAPD:


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

case IOCTL_CMD_WPA:
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/vt6655/hostap.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ KeyvInitTable(&pDevice->sKey,pDevice->PortOffset);
*
*/

int hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked)
int vt6655_hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked)
{
if (val < 0 || val > 1)
return -EINVAL;
Expand Down Expand Up @@ -746,7 +746,7 @@ static int hostap_get_encryption(PSDevice pDevice,

/*
* Description:
* hostap_ioctl main function supported for hostap deamon.
* vt6655_hostap_ioctl main function supported for hostap deamon.
*
* Parameters:
* In:
Expand All @@ -758,7 +758,7 @@ static int hostap_get_encryption(PSDevice pDevice,
*
*/

int hostap_ioctl(PSDevice pDevice, struct iw_point *p)
int vt6655_hostap_ioctl(PSDevice pDevice, struct iw_point *p)
{
struct viawget_hostapd_param *param;
int ret = 0;
Expand Down Expand Up @@ -846,7 +846,7 @@ int hostap_ioctl(PSDevice pDevice, struct iw_point *p)
return -EOPNOTSUPP;

default:
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "hostap_ioctl: unknown cmd=%d\n",
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "vt6655_hostap_ioctl: unknown cmd=%d\n",
(int)param->cmd);
return -EOPNOTSUPP;
break;
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/hostap.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
#define ARPHRD_IEEE80211 801
#endif

int hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked);
int hostap_ioctl(PSDevice pDevice, struct iw_point *p);
int vt6655_hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked);
int vt6655_hostap_ioctl(PSDevice pDevice, struct iw_point *p);

#endif // __HOSTAP_H__

Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/staging/vt6655/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
break;
};
if (sValue.dwValue == 1) {
if (hostap_set_hostapd(pDevice, 1, 1) == 0){
if (vt6655_hostap_set_hostapd(pDevice, 1, 1) == 0){
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Enable HOSTAP\n");
}
else {
Expand All @@ -438,7 +438,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
}
}
else {
hostap_set_hostapd(pDevice, 0, 1);
vt6655_hostap_set_hostapd(pDevice, 0, 1);
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "Disable HOSTAP\n");
}

Expand Down

0 comments on commit 3f2389c

Please sign in to comment.