From patchwork Tue Jun 30 08:21:51 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sudip Mukherjee X-Patchwork-Id: 6694631 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F2296C05AC for ; Tue, 30 Jun 2015 08:22:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 216382055C for ; Tue, 30 Jun 2015 08:22:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 468482054D for ; Tue, 30 Jun 2015 08:22:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750821AbbF3IWH (ORCPT ); Tue, 30 Jun 2015 04:22:07 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:33977 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751398AbbF3IWD (ORCPT ); Tue, 30 Jun 2015 04:22:03 -0400 Received: by pdbep18 with SMTP id ep18so2129868pdb.1; Tue, 30 Jun 2015 01:22:02 -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; bh=+SXRhdAu7dDOe6QPiskA5s3wucl+Hbg3B0J1R+EaSow=; b=h0la7KPQOavkWzGN3XzV6UNlhwGpzW8Fh7CW7VomfQkbxM15QpctdB1iSiDtTMvcSM kNggX9iUhZM4LAU7MfiUrYv7eCuUepwc5vq6ploAKVve595kxDsi86sS7rail/iVT5Uy hNLFumNElXAiDNXEnnkWMteQf8k7xW6ji4BTDKBeUckAUMvbFtZGP0TOLbKIVZUgx6YW YUPIMLVoS4g8pX4M0JL0+VsEKTtukUKyuj6gWbAOmf/SqgDzM7Plg7Hii/hgAgL01+pb nuKqjeMllVtVa3LV0itHZh0TTz1uhtbczH6cfnO3uDRSC7g310mcYMAEO7J+5Tqz4Q2H ifOg== X-Received: by 10.68.235.38 with SMTP id uj6mr41055345pbc.57.1435652522367; Tue, 30 Jun 2015 01:22:02 -0700 (PDT) Received: from localhost.localdomain ([49.206.246.100]) by mx.google.com with ESMTPSA id ho10sm44615228pbc.27.2015.06.30.01.21.58 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jun 2015 01:22:01 -0700 (PDT) From: Sudip Mukherjee To: Johnny Kim , Rachel Kim , Dean Lee , Chris Park , Greg Kroah-Hartman Cc: linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sudip Mukherjee Subject: [PATCH] staging: wilc1000: fix build failure Date: Tue, 30 Jun 2015 13:51:51 +0530 Message-Id: <1435652511-19232-1-git-send-email-sudipm.mukherjee@gmail.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-7.4 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 commit 80279fb7ba5b ("cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect") has changed the api of cfg80211_disconnected() and caused a build failure. Add the extra argument as false since it appears from the code that the disconnection is not locally generated. And incase of doubt we can use false as that is the default behaviour. Signed-off-by: Sudip Mukherjee --- drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c index 92064db..f7f5faf 100644 --- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c +++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c @@ -675,7 +675,8 @@ static void CfgConnectResult(tenuConnDisconnEvent enuConnDisconnEvent, pstrDisconnectNotifInfo->u16reason = 1; } cfg80211_disconnected(dev, pstrDisconnectNotifInfo->u16reason, pstrDisconnectNotifInfo->ie, - pstrDisconnectNotifInfo->ie_len, GFP_KERNEL); + pstrDisconnectNotifInfo->ie_len, false, + GFP_KERNEL); }