From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Ortiz Date: Mon, 24 Jun 2013 12:38:00 +0000 Subject: Re: [patch -next] NFC: fix enable/disable confusion Message-Id: <20130624123800.GE30838@zurbaran> List-Id: References: <20130617224826.GA1562@elgon.mountain> In-Reply-To: <20130617224826.GA1562@elgon.mountain> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org Hi Dan, On Tue, Jun 18, 2013 at 01:48:26AM +0300, Dan Carpenter wrote: > There is a cut and paste bug so we enable a second time instead of > disabling. > > Signed-off-by: Dan Carpenter > > diff --git a/net/nfc/hci/core.c b/net/nfc/hci/core.c > index 7b1c186..3fdefc1 100644 > --- a/net/nfc/hci/core.c > +++ b/net/nfc/hci/core.c > @@ -717,7 +717,7 @@ static int hci_disable_se(struct nfc_dev *nfc_dev, u32 se_idx) > struct nfc_hci_dev *hdev = nfc_get_drvdata(nfc_dev); > > if (hdev->ops->disable_se) > - return hdev->ops->enable_se(hdev, se_idx); > + return hdev->ops->disable_se(hdev, se_idx); > > return 0; > } Applied to nfc-fixes, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/