Search Linux Wireless

Re: [PATCH 1/2] wl12xx: Remove obsolete testmode NVS push command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-08-02 at 10:24 +0300, Ido Yariv wrote: 
> The testmode NVS push command is no longer in use. In addition, it has
> several implementation issues that prevent it from working correctly:
> 
> 1. wl1271_tm_cmd_configure relies on wl->chip.id being set. However,
>    since the device was not necessarily booted by the time the function
>    is called, wl->chip.id will be initialized to 0.
> 2. The NVS file is fetched by calling request_firmware() before it is
>    possible to push an NVS file.
> 3. The maximum allowed size of nl binary payloads is not sufficient for
>    pushing NVS files.
> 4. Pushing 128x NVS files will always fail due to a bug in the
>    validation code.
> 5. In case the pushed NVS file is found invalid, the mutex will be kept
>    locked and the nvs member will become a dangling pointer.
> 
> Since this feature is not being used, remove it completely instead of
> fixing it.
> 
> Signed-off-by: Ido Yariv <ido@xxxxxxxxxx>
> ---

Acked-by: Luciano Coelho <coelho@xxxxxx>

John, could you please take these two patches into 3.1?

The first one is removing an obsolete feature that was badly broken
(causing security risks) and the second one is a power management bug
fix, without which suspend doesn't work properly with the wl12xx driver.

Thanks!

-- 
Cheers,
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux