[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A8B246D.7050004@dell.com>
Date: Tue, 18 Aug 2009 17:00:13 -0500
From: Mario Limonciello <mario_limonciello@...l.com>
To: Johannes Berg <johannes@...solutions.net>,
Alan Jenkins <sourcejedi.lkml@...glemail.com>
CC: Marcel Holtmann <marcel@...tmann.org>, cezary.jackiewicz@...il.com,
linux-acpi@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>,
"linux-wireless@...r.kernel.org" <linux-wireless@...r.kernel.org>
Subject: Re: [PATCH 2/3] Add rfkill support to compal-laptop
Hi Guys:
Johannes Berg wrote:
> Hi everyone,
>
> That's a bit strange indeed, but I haven't seen the rest of the code.
>
> Does the 'soft block' bit change based on user input, like pressing a
> button?
>
> If not, you shouldn't poll that bit at all, but just set it based on
> what rfkill gives you as the return value of set_hw_state().
>
>
No it doesn't, so i've followed your advice in an updated patch, Thanks.
Alan Jenkins wrote:
> ... but you *do* need to unregister wifi_rfkill here, before you go on
> to destroy it.
>
> +err_wifi:
> + rfkill_destroy(wifi_rfkill);
> +
> + return ret;
> +}
>
> Regards
> Alan
>
I think I've addressed this properly now and only go through each of the error handlers as necessary.
--
Mario Limonciello
*Dell | Linux Engineering*
mario_limonciello@...l.com
View attachment "02_add_rfkill_support.diff" of type "text/x-patch" (3138 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (261 bytes)
Powered by blists - more mailing lists