<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/drivers/net/wireless, branch v3.5-rc4</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>Fix typo in printed messages</title>
<updated>2012-06-24T18:03:52+00:00</updated>
<author>
<name>Anatol Pomozov</name>
<email>anatol.pomozov@gmail.com</email>
</author>
<published>2012-06-23T22:54:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=02b7d83436ae4b1d86a5df03e72c1c69af7e239d'/>
<id>02b7d83436ae4b1d86a5df03e72c1c69af7e239d</id>
<content type='text'>
Coult -&gt; Could

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Coult -&gt; Could

Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: disable the buggy chain extension feature in HW</title>
<updated>2012-06-08T17:47:07+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2012-06-06T11:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d012d04e4d6312ea157b6cf19e9689af934f5aa7'/>
<id>d012d04e4d6312ea157b6cf19e9689af934f5aa7</id>
<content type='text'>
This feature has been reported to be buggy and enabled by
default. We therefore need to disable it manually.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This feature has been reported to be buggy and enabled by
default. We therefore need to disable it manually.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: don't mess up the SCD when removing a key</title>
<updated>2012-06-08T17:47:07+00:00</updated>
<author>
<name>Emmanuel Grumbach</name>
<email>emmanuel.grumbach@intel.com</email>
</author>
<published>2012-06-06T07:13:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d6ee27eb13beab94056e0de52d81220058ca2297'/>
<id>d6ee27eb13beab94056e0de52d81220058ca2297</id>
<content type='text'>
When we remove a key, we put a key index which was supposed
to tell the fw that we are actually removing the key. But
instead the fw took that index as a valid index and messed
up the SRAM of the device.

This memory corruption on the device mangled the data of
the SCD. The impact on the user is that SCD queue 2 got
stuck after having removed keys.
The message is the log that was printed is:

Queue 2 stuck for 10000ms

This doesn't seem to fix the higher queues that get stuck
from time to time.

Cc: stable@vger.kernel.org [2.6.27+]
Reviewed-by: Meenakshi Venkataraman &lt;meenakshi.venkataraman@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we remove a key, we put a key index which was supposed
to tell the fw that we are actually removing the key. But
instead the fw took that index as a valid index and messed
up the SRAM of the device.

This memory corruption on the device mangled the data of
the SCD. The impact on the user is that SCD queue 2 got
stuck after having removed keys.
The message is the log that was printed is:

Queue 2 stuck for 10000ms

This doesn't seem to fix the higher queues that get stuck
from time to time.

Cc: stable@vger.kernel.org [2.6.27+]
Reviewed-by: Meenakshi Venkataraman &lt;meenakshi.venkataraman@intel.com&gt;
Signed-off-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>b43: do not call ieee80211_unregister_hw if we are not registred</title>
<updated>2012-06-08T17:47:06+00:00</updated>
<author>
<name>Oleksij Rempel</name>
<email>bug-track@fisher-privat.net</email>
</author>
<published>2012-06-05T18:39:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e64add27e1b4874f589e550b4e0ca6715070373f'/>
<id>e64add27e1b4874f589e550b4e0ca6715070373f</id>
<content type='text'>
this patch fixes kernel Oops on "rmmod b43" if firmware was not loaded:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
IP: [&lt;ffffffff8104e988&gt;] drain_workqueue+0x25/0x142
PGD 153ac6067 PUD 153b82067 PMD 0
Oops: 0000 [#1] SMP

Signed-off-by: Oleksij Rempel &lt;bug-track@fisher-privat.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this patch fixes kernel Oops on "rmmod b43" if firmware was not loaded:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000088
IP: [&lt;ffffffff8104e988&gt;] drain_workqueue+0x25/0x142
PGD 153ac6067 PUD 153b82067 PMD 0
Oops: 0000 [#1] SMP

Signed-off-by: Oleksij Rempel &lt;bug-track@fisher-privat.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: use correct supported firmware for 6035 and 6000g2</title>
<updated>2012-06-08T17:47:06+00:00</updated>
<author>
<name>Meenakshi Venkataraman</name>
<email>meenakshi.venkataraman@intel.com</email>
</author>
<published>2012-06-05T18:24:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=d2c8b15d0cb486f4938ba7f2af349d9d1220cb10'/>
<id>d2c8b15d0cb486f4938ba7f2af349d9d1220cb10</id>
<content type='text'>
My patch

   iwlwifi: use correct released ucode version

did not correctly report supported firmware
for the 6035 device. This patch fixes it. The
minimum supported firmware version for 6035
is v6.

Also correct the minimum supported firmware
version for the 6000g2 series of devices.

Cc: stable@kernel.org
Signed-off-by: Meenakshi Venkataraman &lt;meenakshi.venkataraman@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
My patch

   iwlwifi: use correct released ucode version

did not correctly report supported firmware
for the 6035 device. This patch fixes it. The
minimum supported firmware version for 6035
is v6.

Also correct the minimum supported firmware
version for the 6000g2 series of devices.

Cc: stable@kernel.org
Signed-off-by: Meenakshi Venkataraman &lt;meenakshi.venkataraman@intel.com&gt;
Reviewed-by: Emmanuel Grumbach &lt;emmanuel.grumbach@intel.com&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>mac80211_hwsim: Set IEEE80211_STAT_ACK flag when userspace indicates that the frame has been acknowledged.</title>
<updated>2012-06-08T17:43:58+00:00</updated>
<author>
<name>Qasim Javed</name>
<email>qasimj@gmail.com</email>
</author>
<published>2012-06-05T06:25:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=06cf5c4c5bea549235da1aace86b90d4ad0084f8'/>
<id>06cf5c4c5bea549235da1aace86b90d4ad0084f8</id>
<content type='text'>
The station fail average is not updated correctly since the
IEEE80211_STAT_ACK flag is not set when using wmediumd with
mac80211_hwsim. Set this flag when wmediumd indicates that the frame
was successfully transmitted (eventually).

Signed-off-by: Qasim Javed &lt;qasimj@gmail.com&gt;
Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The station fail average is not updated correctly since the
IEEE80211_STAT_ACK flag is not set when using wmediumd with
mac80211_hwsim. Set this flag when wmediumd indicates that the frame
was successfully transmitted (eventually).

Signed-off-by: Qasim Javed &lt;qasimj@gmail.com&gt;
Signed-off-by: Javier Cardona &lt;javier@cozybit.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>rtl8187: -&gt;brightness_set can not sleep</title>
<updated>2012-06-08T17:43:57+00:00</updated>
<author>
<name>Stanislaw Gruszka</name>
<email>sgruszka@redhat.com</email>
</author>
<published>2012-05-16T09:06:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0fde0a8cfd0ede7f310d6a681c8e5a7cb3e32406'/>
<id>0fde0a8cfd0ede7f310d6a681c8e5a7cb3e32406</id>
<content type='text'>
Fix:

BUG: sleeping function called from invalid context at kernel/workqueue.c:2547
in_atomic(): 1, irqs_disabled(): 0, pid: 629, name: wpa_supplicant
2 locks held by wpa_supplicant/629:
 #0:  (rtnl_mutex){+.+.+.}, at: [&lt;c08b2b84&gt;] rtnl_lock+0x14/0x20
 #1:  (&amp;trigger-&gt;leddev_list_lock){.+.?..}, at: [&lt;c0867f41&gt;] led_trigger_event+0x21/0x80
Pid: 629, comm: wpa_supplicant Not tainted 3.3.0-0.rc3.git5.1.fc17.i686
Call Trace:
 [&lt;c046a9f6&gt;] __might_sleep+0x126/0x1d0
 [&lt;c0457d6c&gt;] wait_on_work+0x2c/0x1d0
 [&lt;c045a09a&gt;] __cancel_work_timer+0x6a/0x120
 [&lt;c045a160&gt;] cancel_delayed_work_sync+0x10/0x20
 [&lt;f7dd3c22&gt;] rtl8187_led_brightness_set+0x82/0xf0 [rtl8187]
 [&lt;c0867f7c&gt;] led_trigger_event+0x5c/0x80
 [&lt;f7ff5e6d&gt;] ieee80211_led_radio+0x1d/0x40 [mac80211]
 [&lt;f7ff3583&gt;] ieee80211_stop_device+0x13/0x230 [mac80211]

Removing _sync is ok, because if led_on work is currently running
it will be finished before led_off work start to perform, since
they are always queued on the same mac80211 local-&gt;workqueue.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=795176

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Acked-by: Hin-Tak Leung &lt;htl10@users.sourceforge.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix:

BUG: sleeping function called from invalid context at kernel/workqueue.c:2547
in_atomic(): 1, irqs_disabled(): 0, pid: 629, name: wpa_supplicant
2 locks held by wpa_supplicant/629:
 #0:  (rtnl_mutex){+.+.+.}, at: [&lt;c08b2b84&gt;] rtnl_lock+0x14/0x20
 #1:  (&amp;trigger-&gt;leddev_list_lock){.+.?..}, at: [&lt;c0867f41&gt;] led_trigger_event+0x21/0x80
Pid: 629, comm: wpa_supplicant Not tainted 3.3.0-0.rc3.git5.1.fc17.i686
Call Trace:
 [&lt;c046a9f6&gt;] __might_sleep+0x126/0x1d0
 [&lt;c0457d6c&gt;] wait_on_work+0x2c/0x1d0
 [&lt;c045a09a&gt;] __cancel_work_timer+0x6a/0x120
 [&lt;c045a160&gt;] cancel_delayed_work_sync+0x10/0x20
 [&lt;f7dd3c22&gt;] rtl8187_led_brightness_set+0x82/0xf0 [rtl8187]
 [&lt;c0867f7c&gt;] led_trigger_event+0x5c/0x80
 [&lt;f7ff5e6d&gt;] ieee80211_led_radio+0x1d/0x40 [mac80211]
 [&lt;f7ff3583&gt;] ieee80211_stop_device+0x13/0x230 [mac80211]

Removing _sync is ok, because if led_on work is currently running
it will be finished before led_off work start to perform, since
they are always queued on the same mac80211 local-&gt;workqueue.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=795176

Signed-off-by: Stanislaw Gruszka &lt;sgruszka@redhat.com&gt;
Acked-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Acked-by: Hin-Tak Leung &lt;htl10@users.sourceforge.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>net/wireless: ipw2100: Fix WARN_ON occurring in wiphy_register called by ipw2100_pci_init_one</title>
<updated>2012-06-08T17:43:57+00:00</updated>
<author>
<name>Stanislav Yakovlev</name>
<email>stas.yakovlev@gmail.com</email>
</author>
<published>2012-05-14T23:06:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=aac495a8002bbf20e879572c6cf0789ab2ffb32b'/>
<id>aac495a8002bbf20e879572c6cf0789ab2ffb32b</id>
<content type='text'>
The problem was found by Larry Finger:
http://marc.info/?l=linux-wireless&amp;m=133702401700614&amp;w=2

The problem is identical to the one for ipw2200 which is already fixed:
http://marc.info/?l=linux-wireless&amp;m=133457257407196&amp;w=2

[   17.766431] ------------[ cut here ]------------
[   17.766467] WARNING: at net/wireless/core.c:562 wiphy_register+0x34c/0x3c0 [cfg80211]()
[   17.766471] Hardware name: Latitude D600
[   17.766474] Modules linked in: ipw2100(+) libipw pcmcia cfg80211 ppdev parport_pc yenta_socket sr_mod pcmcia_rsrc parport iTCO_wdt cdrom sg rfkill pcmcia_
core lib80211 tg3 video button battery ac iTCO_vendor_support joydev shpchp pcspkr pciehp pci_hotplug autofs4 radeon ttm drm_kms_helper uhci_hcd ehci_hcd rtc
_cmos thermal drm hwmon i2c_algo_bit i2c_core processor usbcore usb_common ata_generic ata_piix ahci libahci libata
[   17.766525] Pid: 474, comm: modprobe Not tainted 3.4.0-rc7-wl+ #6
[   17.766528] Call Trace:
[   17.766541]  [&lt;c066ad08&gt;] ? printk+0x28/0x2a
[   17.766552]  [&lt;c0230edd&gt;] warn_slowpath_common+0x6d/0xa0
[   17.766563]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766573]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766578]  [&lt;c0230f2d&gt;] warn_slowpath_null+0x1d/0x20
[   17.766588]  [&lt;e0b253bc&gt;] wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766605]  [&lt;e0b5b0d6&gt;] ipw2100_wdev_init+0x196/0x1c0 [ipw2100]
[   17.766616]  [&lt;e0b5d962&gt;] ipw2100_pci_init_one+0x2b2/0x694 [ipw2100]
[   17.766632]  [&lt;c047ce52&gt;] local_pci_probe+0x42/0xb0
[   17.766637]  [&lt;c047e2b0&gt;] pci_device_probe+0x60/0x90
[   17.766645]  [&lt;c0376de2&gt;] ? sysfs_create_link+0x12/0x20
[   17.766654]  [&lt;c050f1f6&gt;] really_probe+0x56/0x2e0
[   17.766659]  [&lt;c037636d&gt;] ? create_dir+0x5d/0xa0
[   17.766667]  [&lt;c0518c6b&gt;] ? pm_runtime_barrier+0x3b/0xa0
[   17.766672]  [&lt;c050f5e4&gt;] driver_probe_device+0x44/0xa0
[   17.766677]  [&lt;c047e227&gt;] ? pci_match_device+0x97/0xa0
[   17.766681]  [&lt;c050f6c9&gt;] __driver_attach+0x89/0x90
[   17.766686]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766691]  [&lt;c050da2a&gt;] bus_for_each_dev+0x3a/0x70
[   17.766695]  [&lt;c050ee6c&gt;] driver_attach+0x1c/0x30
[   17.766699]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766704]  [&lt;c050ea77&gt;] bus_add_driver+0x187/0x280
[   17.766710]  [&lt;c045b9cd&gt;] ? kset_find_obj+0x2d/0x60
[   17.766715]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766719]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766724]  [&lt;c050fb85&gt;] driver_register+0x65/0x110
[   17.766729]  [&lt;c047e09d&gt;] __pci_register_driver+0x3d/0xa0
[   17.766738]  [&lt;e09f705c&gt;] ipw2100_init+0x5c/0x1000 [ipw2100]
[   17.766743]  [&lt;c020110f&gt;] do_one_initcall+0x2f/0x170
[   17.766749]  [&lt;e09f7000&gt;] ? 0xe09f6fff
[   17.766757]  [&lt;c0287ce8&gt;] sys_init_module+0xa8/0x210
[   17.766766]  [&lt;c067a075&gt;] syscall_call+0x7/0xb
[   17.766769] ---[ end trace 559898c6bb0d1c75 ]---
[   17.767093] ipw2100: probe of 0000:02:03.0 failed with error -5

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720204412667&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The problem was found by Larry Finger:
http://marc.info/?l=linux-wireless&amp;m=133702401700614&amp;w=2

The problem is identical to the one for ipw2200 which is already fixed:
http://marc.info/?l=linux-wireless&amp;m=133457257407196&amp;w=2

[   17.766431] ------------[ cut here ]------------
[   17.766467] WARNING: at net/wireless/core.c:562 wiphy_register+0x34c/0x3c0 [cfg80211]()
[   17.766471] Hardware name: Latitude D600
[   17.766474] Modules linked in: ipw2100(+) libipw pcmcia cfg80211 ppdev parport_pc yenta_socket sr_mod pcmcia_rsrc parport iTCO_wdt cdrom sg rfkill pcmcia_
core lib80211 tg3 video button battery ac iTCO_vendor_support joydev shpchp pcspkr pciehp pci_hotplug autofs4 radeon ttm drm_kms_helper uhci_hcd ehci_hcd rtc
_cmos thermal drm hwmon i2c_algo_bit i2c_core processor usbcore usb_common ata_generic ata_piix ahci libahci libata
[   17.766525] Pid: 474, comm: modprobe Not tainted 3.4.0-rc7-wl+ #6
[   17.766528] Call Trace:
[   17.766541]  [&lt;c066ad08&gt;] ? printk+0x28/0x2a
[   17.766552]  [&lt;c0230edd&gt;] warn_slowpath_common+0x6d/0xa0
[   17.766563]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766573]  [&lt;e0b253bc&gt;] ? wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766578]  [&lt;c0230f2d&gt;] warn_slowpath_null+0x1d/0x20
[   17.766588]  [&lt;e0b253bc&gt;] wiphy_register+0x34c/0x3c0 [cfg80211]
[   17.766605]  [&lt;e0b5b0d6&gt;] ipw2100_wdev_init+0x196/0x1c0 [ipw2100]
[   17.766616]  [&lt;e0b5d962&gt;] ipw2100_pci_init_one+0x2b2/0x694 [ipw2100]
[   17.766632]  [&lt;c047ce52&gt;] local_pci_probe+0x42/0xb0
[   17.766637]  [&lt;c047e2b0&gt;] pci_device_probe+0x60/0x90
[   17.766645]  [&lt;c0376de2&gt;] ? sysfs_create_link+0x12/0x20
[   17.766654]  [&lt;c050f1f6&gt;] really_probe+0x56/0x2e0
[   17.766659]  [&lt;c037636d&gt;] ? create_dir+0x5d/0xa0
[   17.766667]  [&lt;c0518c6b&gt;] ? pm_runtime_barrier+0x3b/0xa0
[   17.766672]  [&lt;c050f5e4&gt;] driver_probe_device+0x44/0xa0
[   17.766677]  [&lt;c047e227&gt;] ? pci_match_device+0x97/0xa0
[   17.766681]  [&lt;c050f6c9&gt;] __driver_attach+0x89/0x90
[   17.766686]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766691]  [&lt;c050da2a&gt;] bus_for_each_dev+0x3a/0x70
[   17.766695]  [&lt;c050ee6c&gt;] driver_attach+0x1c/0x30
[   17.766699]  [&lt;c050f640&gt;] ? driver_probe_device+0xa0/0xa0
[   17.766704]  [&lt;c050ea77&gt;] bus_add_driver+0x187/0x280
[   17.766710]  [&lt;c045b9cd&gt;] ? kset_find_obj+0x2d/0x60
[   17.766715]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766719]  [&lt;c047e2e0&gt;] ? pci_device_probe+0x90/0x90
[   17.766724]  [&lt;c050fb85&gt;] driver_register+0x65/0x110
[   17.766729]  [&lt;c047e09d&gt;] __pci_register_driver+0x3d/0xa0
[   17.766738]  [&lt;e09f705c&gt;] ipw2100_init+0x5c/0x1000 [ipw2100]
[   17.766743]  [&lt;c020110f&gt;] do_one_initcall+0x2f/0x170
[   17.766749]  [&lt;e09f7000&gt;] ? 0xe09f6fff
[   17.766757]  [&lt;c0287ce8&gt;] sys_init_module+0xa8/0x210
[   17.766766]  [&lt;c067a075&gt;] syscall_call+0x7/0xb
[   17.766769] ---[ end trace 559898c6bb0d1c75 ]---
[   17.767093] ipw2100: probe of 0000:02:03.0 failed with error -5

This warning appears only if we apply Ben Hutchings' fix
http://marc.info/?l=linux-wireless&amp;m=132720204412667&amp;w=2
for the bug reported by Cesare Leonardi
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=656813
with cfg80211 warning during device registration
("cfg80211: failed to add phy80211 symlink to netdev!").

We separate device bring up and registration with network stack
to avoid the problem.

Signed-off-by: Stanislav Yakovlev &lt;stas.yakovlev@gmail.com&gt;
Tested-by: Larry Finger &lt;Larry.Finger@lwfinger.net&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: unregister LEDs if mac80211 registration fails</title>
<updated>2012-06-05T18:27:30+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-06-05T07:38:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=0e1fa7ef25004b9c1a14147bce61c15c2f1c6744'/>
<id>0e1fa7ef25004b9c1a14147bce61c15c2f1c6744</id>
<content type='text'>
Otherwise the LEDs stick around and cause issues the
next time around since they're still there but not
really hooked up.

Cc: stable@kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the LEDs stick around and cause issues the
next time around since they're still there but not
really hooked up.

Cc: stable@kernel.org
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>iwlwifi: fix double free/complete in firmware loading</title>
<updated>2012-06-05T18:27:29+00:00</updated>
<author>
<name>Johannes Berg</name>
<email>johannes.berg@intel.com</email>
</author>
<published>2012-06-05T17:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f69a23b795d6ee3673583146ed7efcbaaa5add18'/>
<id>f69a23b795d6ee3673583146ed7efcbaaa5add18</id>
<content type='text'>
Linus reported that due to mac80211 failing to register
the device (due to WoWLAN) his machine crashed etc. as
we double-freed the vmalloc() firmware area. His patch
to fix it was very similar to this one but I noticed
that there's another bug in the area: we complete the
completion before starting, so since we're running in
a work struct context stop() could be called while in
the middle of start() which will almost certainly lead
to issues.

Make a modification similar to his to avoid the double-
free but also move the completion to another spot so it
is only done after start() either finished or failed so
that stop() can have a consistent state.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Linus reported that due to mac80211 failing to register
the device (due to WoWLAN) his machine crashed etc. as
we double-freed the vmalloc() firmware area. His patch
to fix it was very similar to this one but I noticed
that there's another bug in the area: we complete the
completion before starting, so since we're running in
a work struct context stop() could be called while in
the middle of start() which will almost certainly lead
to issues.

Make a modification similar to his to avoid the double-
free but also move the completion to another spot so it
is only done after start() either finished or failed so
that stop() can have a consistent state.

Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Johannes Berg &lt;johannes.berg@intel.com&gt;
Signed-off-by: John W. Linville &lt;linville@tuxdriver.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
