kernel-fxtec-pro1x/drivers/net/wireless/p54
Christian Lamparter 731c653168 p54spi: fix locking warning in p54spi_op_tx
This patch fixes the following waring:
> ------------[ cut here ]------------
>WARNING: at kernel/softirq.c:138 local_bh_enable+0x54/0xbc()
>Modules linked in: p54spi
>[<c0034ff8>] (dump_stack+0x0/0x14)
>[<c005b1a4>] (warn_on_slowpath+0x0/0x68)
>[<c00604c8>] (local_bh_enable+0x0/0xbc)
>[<bf000000>] (p54spi_op_tx+0x0/0x4c [p54spi])
>[<c01a4d34>] (p54_sta_unlock+0x0/0x78)

p54spi_op_tx needs to be called from different locking contexts.
Therefore we have to protect the linked list with irqsave spinlocks.

Reported-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-16 10:39:06 -04:00
..
Kconfig p54: Kconfig maintenance 2009-03-27 20:13:18 -04:00
Makefile
net2280.h
p54.h p54: replace MAC80211_LEDS with P54_LEDS in p54.h 2009-04-16 10:39:04 -04:00
p54common.c p54: fix SoftLED compile dependencies 2009-03-27 20:13:06 -04:00
p54common.h p54: initial SoftLED support 2009-03-16 18:09:28 -04:00
p54pci.c p54pci: convert printk(KERN_* to dev_* 2009-03-16 18:09:28 -04:00
p54pci.h
p54spi.c p54spi: fix locking warning in p54spi_op_tx 2009-04-16 10:39:06 -04:00
p54spi.h
p54spi_eeprom.h
p54usb.c p54: unify ieee80211 device registration 2009-03-16 18:09:27 -04:00
p54usb.h