Loading drivers/staging/bcm/Bcmchar.c +38 −41 Original line number Diff line number Diff line Loading @@ -792,7 +792,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) case IOCTL_BCM_BUFFER_DOWNLOAD: { FIRMWARE_INFO *psFwInfo = NULL; BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Starting the firmware download PID =0x%x!!!!\n", current->pid); do { if (!down_trylock(&Adapter->fw_download_sema)) { BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Invalid way to download buffer. Use Start and then call this!!!\n"); Loading Loading @@ -842,9 +842,6 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) wake_up(&Adapter->LEDInfo.notify_led_event); } } break; } while (0); if (Status != STATUS_SUCCESS) up(&Adapter->fw_download_sema); Loading Loading
drivers/staging/bcm/Bcmchar.c +38 −41 Original line number Diff line number Diff line Loading @@ -792,7 +792,7 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) case IOCTL_BCM_BUFFER_DOWNLOAD: { FIRMWARE_INFO *psFwInfo = NULL; BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Starting the firmware download PID =0x%x!!!!\n", current->pid); do { if (!down_trylock(&Adapter->fw_download_sema)) { BCM_DEBUG_PRINT(Adapter, DBG_TYPE_PRINTK, 0, 0, "Invalid way to download buffer. Use Start and then call this!!!\n"); Loading Loading @@ -842,9 +842,6 @@ static long bcm_char_ioctl(struct file *filp, UINT cmd, ULONG arg) wake_up(&Adapter->LEDInfo.notify_led_event); } } break; } while (0); if (Status != STATUS_SUCCESS) up(&Adapter->fw_download_sema); Loading