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>
This commit is contained in:
parent
24e326ea29
commit
3f882895c7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user