staging: wilc1000: use strncmp instead of WILC_strncmp
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 10 Aug 2015 02:33:17 +0000 (11:33 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 15 Aug 2015 01:39:52 +0000 (18:39 -0700)
Use strncmp instead of WILC_strncmp.

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index 5c459679aa5a135f77f14ec1b24e98a27c0a6f3a..9e589a0c7b7377d5c09d0c2dcdc0458fdbdd9f60 100644 (file)
@@ -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