Return-path: Received: from smtp2-g21.free.fr ([212.27.42.2]:41418 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752400Ab0LSLL3 (ORCPT ); Sun, 19 Dec 2010 06:11:29 -0500 Received: from [192.168.0.124] (unknown [82.225.227.47]) by smtp2-g21.free.fr (Postfix) with ESMTP id 2E9464B0162 for ; Sun, 19 Dec 2010 12:11:20 +0100 (CET) Message-ID: <4D0DE870.2050503@free.fr> Date: Sun, 19 Dec 2010 12:11:44 +0100 From: CalimeroTeknik MIME-Version: 1.0 To: linux-wireless@vger.kernel.org Subject: Wireless channel stuck to -1 on mon0 (fix patch submission) Content-Type: multipart/mixed; boundary="------------050505020401050603060601" Sender: linux-wireless-owner@vger.kernel.org List-ID: This is a multi-part message in MIME format. --------------050505020401050603060601 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit [1.] One line summary of the problem: I can't change the channel of mon0 which is stuck to -1 [2.] Full description of the problem/report: iwconfig mon0 channel 10 gives no error but the channel stays to -1 [3.] Keywords (i.e., modules, networking, kernel): Wifi modules used : iwlagn 336809 0 iwlcore 89975 1 iwlagn mac80211 199020 2 iwlagn,iwlcore cfg80211 139093 3 iwlagn,iwlcore,mac80211 [4.] Kernel information [4.1.] Kernel version (from /proc/version): Linux version 2.6.37-rc6-mainline (root@m50vn) (gcc version 4.5.2 (GCC) ) #1 SMP PREEMPT Sat Dec 18 15:50:20 CET 2010 nota bene : compiled in *fake*root. [4.2.] Kernel .config file: attached. [5.] Most recent kernel version which did not have the bug: It worked on 2.6.33 and didn't work on 2.6.36 [6.] Output of Oops.. message (if applicable) with symbolic information resolved (see Documentation/oops-tracing.txt) None. [7.] A small shell script or example program which triggers the problem (if possible) airmon-ng start wlan0 airodump-ng --channel 1 mon0 You'll notice that despite any attempt of changing the channel, it stays to -1. [8.] Environment [8.1.] Software (add the output of the ver_linux script here) [8.2.] Processor information (from /proc/cpuinfo): cpu family : 6 model : 23 model name : Intel(R) Core(TM)2 Duo CPU P8600 @ 2.40GHz [8.3.] Module information (from /proc/modules): iwlagn 336809 0 - Live 0xffffffffa0317000 iwlcore 89975 1 iwlagn, Live 0xffffffffa01a2000 mac80211 199020 2 iwlagn,iwlcore, Live 0xffffffffa02c6000 cfg80211 139093 3 iwlagn,iwlcore,mac80211, Live 0xffffffffa01c4000 [8.4.] Loaded driver and hardware information (/proc/ioports, /proc/iomem) attached. [8.5.] PCI information ('lspci -vvv' as root) 03:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100 Subsystem: Intel Corporation PRO/Wireless 5100AGN Network Connection Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-