Return-path: Received: from mail-fx0-f46.google.com ([209.85.161.46]:42812 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756336Ab0EYCYB convert rfc822-to-8bit (ORCPT ); Mon, 24 May 2010 22:24:01 -0400 Received: by fxm5 with SMTP id 5so2815356fxm.19 for ; Mon, 24 May 2010 19:23:59 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: =?ISO-8859-1?Q?G=E1bor_Stefanik?= Date: Tue, 25 May 2010 04:23:39 +0200 Message-ID: Subject: Re: ath5k past 2.6.30 breaks monitor mode (and thus the aircrack suite) To: Weedy , linux-wireless Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 2010/5/25 Weedy : > 2010/5/23 G?bor Stefanik : >> In the meantime, one thing to test: Add a printk of sc->opmode. > > May 24 22:04:20 tiny-h4x kernel: [41147.243149] sc->opmode: 02 (over9000 times) > > So i'm guessing I did it wrong (I don't know C). > ? ? ? ?printk(KERN_NOTICE "sc->opmode: %02x\n", sc->opmode); > No, that is correct, and proves my theory (2 is NL80211_IFTYPE_STATION - it should be 6 for monitor mode). BTW, please use "Reply to all". -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)