1
linux/drivers/staging/bcm
Kevin McKinney d9f26a6689 Staging: bcm: Fix semaphore locking error when downloading firmware.
This patch releases semaphore locks when
an error occurrs while attempting to
download firmware for the bcm driver.
When downloading firmware for this driver,
a process is expected to call
the following ioctl's in this order:
(1)IOCTL_BCM_BUFFER_DOWNLOAD_START,
(2)IOCTL_BCM_BUFFER_DOWNLOAD, and (3)
IOCTL_BCM_BUFFER_DOWNLOAD_STOP.
Semaphore, “Adapter->fw_download_sema” is
expected to be acquired in the first ioctl,
IOCTL_BCM_BUFFER_DOWNLOAD_START, and it should
block until IOCTL_BCM_BUFFER_DOWNLOAD_STOP
is called.  In this case, if an error
occurred before STOP finished, the semaphore
"Adapter->fw_download_sema" was not being released.

Signed-off-by: Kevin McKinney <klmckinney1@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-11-26 17:14:48 -08:00
..
Adapter.h
Bcmchar.c Staging: bcm: Fix semaphore locking error when downloading firmware. 2011-11-26 17:14:48 -08:00
Bcmnet.c
CmHost.c
CmHost.h
cntrl_SignalingInterface.h
DDRInit.c
DDRInit.h
Debug.h staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
HandleControlPacket.c
headers.h Staging: bcm: Fix a coding style error reported by checkpatch.pl 2011-08-23 15:20:52 -07:00
hostmibs.c Staging: bcm: hostmibs: Added temporary variable to shorten lines 2011-11-26 17:11:12 -08:00
HostMIBSInterface.h
InterfaceAdapter.h
InterfaceDld.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceIdleMode.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceIdleMode.h
InterfaceInit.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceInit.h
InterfaceIsr.c
InterfaceIsr.h
InterfaceMacros.h
InterfaceMisc.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
InterfaceMisc.h
InterfaceRx.c staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
InterfaceRx.h
InterfaceTx.c
InterfaceTx.h
Ioctl.h
IPv6Protocol.c
IPv6ProtocolHdr.h
Kconfig
LeakyBucket.c
led_control.c
led_control.h
Macros.h Staging: bcm: Macros: Fixed multiple coding style violations. 2011-08-23 15:21:23 -07:00
Makefile
Misc.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
nvm.c Staging: bcm: Fix information leak in ioctl: IOCTL_BCM_REGISTER_READ_PRIVATE, IOCTL_BCM_EEPROM_REGISTER_READ 2011-11-26 17:11:58 -08:00
nvm.h
PHSDefines.h
PHSModule.c staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
PHSModule.h staging: Fix recieve/receive typos 2011-06-28 14:54:17 -07:00
Protocol.h
Prototypes.h
Qos.c
Queue.h
sort.c drivers: staging: bcm: sort: kill handrolled bubblesort 2011-07-05 20:36:37 -07:00
target_params.h
TODO
Transmit.c
Typedefs.h
vendorspecificextn.c
vendorspecificextn.h
Version.h