Re: [PATCH 1/7] brcmfmac: Add support for host platform NVRAM loading.

2015-07-11 Thread Rafał Miłecki
On 10 July 2015 at 20:31, Arend van Spriel wrote: > @@ -146,7 +147,7 @@ brcmf_nvram_handle_value(struct nvram_parser *nvp) > u32 cplen; > > c = nvp->data[nvp->pos]; > - if (!is_nvram_char(c)) { > + if (!is_nvram_char(c) && (c != ' ')) { This is redundant, please drop t

[PATCH 1/7] brcmfmac: Add support for host platform NVRAM loading.

2015-07-10 Thread Arend van Spriel
From: Hante Meuleman Host platforms such as routers supported by OpenWRT can support NVRAM reading directly from internal NVRAM store. With this patch the nvram load routines will fall back to this method when there is no nvram file and support is available in the kernel. Cc: Rafał Miłecki Revi