Return-path: Received: from mail-ey0-f174.google.com ([209.85.215.174]:51951 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754090Ab1KVIL2 (ORCPT ); Tue, 22 Nov 2011 03:11:28 -0500 MIME-Version: 1.0 In-Reply-To: <2D0C7905-AEB2-4DE4-89B1-945D89F2B5D6@logic.at> References: <1320709047.31823.188.camel@wwguy-huron> <20111108043233.GA21171@gamma.logic.tuwien.ac.at> <20111109051152.GA16006@gamma.logic.tuwien.ac.at> <20111121030640.GI32505@gamma.logic.tuwien.ac.at> <20111122051310.GA23705@gamma.logic.tuwien.ac.at> <20111122072730.GA32225@gamma.logic.tuwien.ac.at> <2D0C7905-AEB2-4DE4-89B1-945D89F2B5D6@logic.at> Date: Tue, 22 Nov 2011 10:11:25 +0200 Message-ID: (sfid-20111122_091152_985107_E5F4CE8C) Subject: Re: iwlagn is getting very shaky From: Emmanuel Grumbach To: Norbert Preining Cc: "Guy, Wey-Yi" , David Rientjes , "linux-kernel@vger.kernel.org" , "ipw3945-devel@lists.sourceforge.net" , "ilw@linux.intel.com" , "linux-wireless@vger.kernel.org" , Pekka Enberg Content-Type: multipart/mixed; boundary=f46d043c7ccc8a0b6c04b24e5923 Sender: linux-wireless-owner@vger.kernel.org List-ID: --f46d043c7ccc8a0b6c04b24e5923 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Nov 22, 2011 at 09:54, Norbert Preining wrote: > Hi > > > I wrote ... > >>> Does not apply against current git, > > ... > >>> can't find file to patch at input line 78 >>> Perhaps you used the wrong -p or --strip option? >>> The text leading up to this was: >>> -------------------------- >>> |diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c > > You answered ... > >> Glad it applied > > Me scratching my head!? Sorry, please try again with that one. --f46d043c7ccc8a0b6c04b24e5923 Content-Type: application/octet-stream; name="QUEUE_DEBUG.patch" Content-Disposition: attachment; filename="QUEUE_DEBUG.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f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