From patchwork Mon Aug 10 02:33:17 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 6979141 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C03C99F373 for ; Mon, 10 Aug 2015 02:33:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E0BFA206E6 for ; Mon, 10 Aug 2015 02:33:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1496A2070A for ; Mon, 10 Aug 2015 02:33:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752362AbbHJCdw (ORCPT ); Sun, 9 Aug 2015 22:33:52 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=gu1ibl2xoMee84IcyK4o+tXem+T46RaGoMHp+9fMtlM=; b=MVZdzQStA+gaheY5fGkrgeZwcQv6NebSeoHlbyJNuftSmbsF4W0zeW4/xt7sOgFTJ9 FxJziVXGGw2JUEC1u772augdj7QfqFrKno6tvurL+of6/KMZRH0vQyD9gSAFls6/M0hU fRfFWL3p2+adxECyCt0d+I5W/Si6eWO8pVAtDsp4NRDWzDtq9wmbkoThPn5v68lebEwT rwVVrPrlBACK+THcBDf+0gpBXvB24OB1WgVBYmu5zJvF+pwDrUWmhbzCDcEF9zhSoPFi PuCKwkIKrQUrgD4AOl2vkK3Y9+hugC6fvW/LEjlu6CnbrNC7hm7aek5TAb005cvTIqEm qTyw== X-Received: by 10.68.162.66 with SMTP id xy2mr40239164pbb.13.1439174025834; Sun, 09 Aug 2015 19:33:45 -0700 (PDT) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id k10sm17650088pbq.63.2015.08.09.19.33.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); 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> X-Mailer: git-send-email 1.9.1 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 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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