diff options
author | Forest Bond <forest@alittletooquiet.net> | 2010-04-17 11:03:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 14:35:56 -0400 |
commit | ecf739e695d5aa404326100c0ba93c211e87a0fe (patch) | |
tree | 1e7ad5592e559b952376372a0344ab96724c2c18 /drivers/staging/vt6655/hostap.c | |
parent | c30d7973f22ea3f8b3e5d1d7215b3f2ff8f5e934 (diff) |
Staging: vt6655: Rename hostap_set_hostapd, hostap_iotctl.
The functions hostap_set_hostapd, hostap_iotctl clashed with functions of the
same name with CONFIG_HOSTAP=y and/or CONFIG_VT6656=y.
Signed-off-by: Forest Bond <forest@alittletooquiet.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/vt6655/hostap.c')
-rw-r--r-- | drivers/staging/vt6655/hostap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/vt6655/hostap.c b/drivers/staging/vt6655/hostap.c index 58abf44c76a..9e07a40480f 100644 --- a/drivers/staging/vt6655/hostap.c +++ b/drivers/staging/vt6655/hostap.c | |||
@@ -183,7 +183,7 @@ KeyvInitTable(&pDevice->sKey,pDevice->PortOffset); | |||
183 | * | 183 | * |
184 | */ | 184 | */ |
185 | 185 | ||
186 | int hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked) | 186 | int vt6655_hostap_set_hostapd(PSDevice pDevice, int val, int rtnl_locked) |
187 | { | 187 | { |
188 | if (val < 0 || val > 1) | 188 | if (val < 0 || val > 1) |
189 | return -EINVAL; | 189 | return -EINVAL; |
@@ -746,7 +746,7 @@ static int hostap_get_encryption(PSDevice pDevice, | |||
746 | 746 | ||
747 | /* | 747 | /* |
748 | * Description: | 748 | * Description: |
749 | * hostap_ioctl main function supported for hostap deamon. | 749 | * vt6655_hostap_ioctl main function supported for hostap deamon. |
750 | * | 750 | * |
751 | * Parameters: | 751 | * Parameters: |
752 | * In: | 752 | * In: |
@@ -758,7 +758,7 @@ static int hostap_get_encryption(PSDevice pDevice, | |||
758 | * | 758 | * |
759 | */ | 759 | */ |
760 | 760 | ||
761 | int hostap_ioctl(PSDevice pDevice, struct iw_point *p) | 761 | int vt6655_hostap_ioctl(PSDevice pDevice, struct iw_point *p) |
762 | { | 762 | { |
763 | struct viawget_hostapd_param *param; | 763 | struct viawget_hostapd_param *param; |
764 | int ret = 0; | 764 | int ret = 0; |
@@ -846,7 +846,7 @@ int hostap_ioctl(PSDevice pDevice, struct iw_point *p) | |||
846 | return -EOPNOTSUPP; | 846 | return -EOPNOTSUPP; |
847 | 847 | ||
848 | default: | 848 | default: |
849 | DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "hostap_ioctl: unknown cmd=%d\n", | 849 | DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "vt6655_hostap_ioctl: unknown cmd=%d\n", |
850 | (int)param->cmd); | 850 | (int)param->cmd); |
851 | return -EOPNOTSUPP; | 851 | return -EOPNOTSUPP; |
852 | break; | 852 | break; |