aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorChaehyun Lim <chaehyun.lim@gmail.com>2015-08-10 11:33:17 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-14 18:39:52 -0700
commit3f882895c717ec107820d7a53919110af702652d (patch)
tree737c3d5af3bc178605f374d10ea27f35cdbcccc5 /drivers/staging
parentstaging: wilc1000: remove WILC_strncpy function (diff)
downloadlinux-dev-3f882895c717ec107820d7a53919110af702652d.tar.xz
linux-dev-3f882895c717ec107820d7a53919110af702652d.zip
staging: wilc1000: use strncmp instead of WILC_strncmp
Use strncmp instead of WILC_strncmp. Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/wilc1000/wilc_wfi_cfgoperations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 5c459679aa5a..9e589a0c7b73 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -833,7 +833,7 @@ static int WILC_WFI_CfgConnect(struct wiphy *wiphy, struct net_device *dev,
PRINT_D(CFG80211_DBG, "Connecting to SSID [%s] on netdev [%p] host if [%p]\n", sme->ssid, dev, priv->hWILCWFIDrv);
#ifdef WILC_P2P
- if (!(WILC_strncmp(sme->ssid, "DIRECT-", 7))) {
+ if (!(strncmp(sme->ssid, "DIRECT-", 7))) {
PRINT_D(CFG80211_DBG, "Connected to Direct network,OBSS disabled\n");
pstrWFIDrv->u8P2PConnect = 1;
} else