Return-path: Received: from mail-pa0-f49.google.com ([209.85.220.49]:33960 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752530AbbHJCdq (ORCPT ); Sun, 9 Aug 2015 22:33:46 -0400 Received: by pawu10 with SMTP id u10so129140224paw.1 for ; Sun, 09 Aug 2015 19:33:45 -0700 (PDT) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, rachel.kim@atmel.com, dean.lee@atmel.com, chris.park@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 06/11] staging: wilc1000: use strncmp instead of WILC_strncmp Date: Mon, 10 Aug 2015 11:33:17 +0900 Message-Id: <1439174002-7365-6-git-send-email-chaehyun.lim@gmail.com> (sfid-20150810_043354_801270_03BE311B) In-Reply-To: <1439174002-7365-1-git-send-email-chaehyun.lim@gmail.com> References: <1439174002-7365-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: Use strncmp instead of WILC_strncmp. Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 5c45967..9e589a0 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 -- 1.9.1