Return-path: Received: from mail-oi0-f68.google.com ([209.85.218.68]:36008 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1034678AbcKAHb7 (ORCPT ); Tue, 1 Nov 2016 03:31:59 -0400 MIME-Version: 1.0 In-Reply-To: <20161101072447.GA21575@cube> References: <20161101072447.GA21575@cube> From: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= Date: Tue, 1 Nov 2016 08:31:58 +0100 Message-ID: (sfid-20161101_083219_873251_A34EAA94) Subject: Re: [PATCH v2] rtl8xxxu: Fix for agressive power saving by rtl8723bu wireless IC To: John Heenan Cc: Jes Sorensen , Kalle Valo , "linux-wireless@vger.kernel.org" , Network Development , Linux Kernel Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 1 November 2016 at 08:24, John Heenan wrote: > @@ -5779,6 +5779,12 @@ static int rtl8xxxu_start(struct ieee80211_hw *hw) > > ret =3D 0; > > + if(priv->fops =3D=3D &rtl8723bu_fops) { OK, let me be the first. Documentation/CodingStyle also says to use space between "if" and "(" ;) > @@ -6080,9 +6086,11 @@ static int rtl8xxxu_probe(struct usb_interface *in= terface, > goto exit; > } > > - ret =3D rtl8xxxu_init_device(hw); > - if (ret) > - goto exit; > + if(priv->fops !=3D &rtl8723bu_fops) { Same here. I reviewed style only. --=20 Rafa=C5=82