From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:7204 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751630Ab1C2NW6 (ORCPT ); Tue, 29 Mar 2011 09:22:58 -0400 Date: Tue, 29 Mar 2011 15:22:33 +0200 From: Stanislaw Gruszka To: Johannes Berg Cc: John Linville , linux-wireless Subject: Re: [PATCH] iwlegacy: fix bugs in change_interface Message-ID: <20110329132231.GA6919@redhat.com> References: <1301400359.3834.12.camel@jlt3.sipsolutions.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1301400359.3834.12.camel@jlt3.sipsolutions.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Mar 29, 2011 at 02:05:59PM +0200, Johannes Berg wrote: > From: Johannes Berg > > If change_interface gets invoked during a firmware > restart, it may crash; prevent that from happening > by checking if ctx->vif is assigned. > > Additionally, in my initial commit I forgot to set > the vif->p2p variable correctly, so fix that too, > even if it doesn't matter since P2P isn't supported. ACK Does we also need iwl_{legacy,}is_ready_rf check? Stanislaw