Re: [PATCH] brcmfmac: slightly simplify building interface combinations

2016-06-09 Thread Arend van Spriel
On 07-06-16 21:10, Rafał Miłecki wrote: > This change reorders some operations in brcmf_setup_ifmodes in hope to > make it simpler: > 1) It allocates arrays right before filling them. This way it's easier >to follow requested array length as it's immediately followed by >code filling it.

Re: [PATCH] brcmfmac: slightly simplify building interface combinations

2016-06-09 Thread Arend van Spriel
On 07-06-16 21:10, Rafał Miłecki wrote: > This change reorders some operations in brcmf_setup_ifmodes in hope to > make it simpler: > 1) It allocates arrays right before filling them. This way it's easier >to follow requested array length as it's immediately followed by >code filling it.

[PATCH] brcmfmac: slightly simplify building interface combinations

2016-06-07 Thread Rafał Miłecki
This change reorders some operations in brcmf_setup_ifmodes in hope to make it simpler: 1) It allocates arrays right before filling them. This way it's easier to follow requested array length as it's immediately followed by code filling it. It's easier to check e.g. why we need 4 entries for

[PATCH] brcmfmac: slightly simplify building interface combinations

2016-06-07 Thread Rafał Miłecki
This change reorders some operations in brcmf_setup_ifmodes in hope to make it simpler: 1) It allocates arrays right before filling them. This way it's easier to follow requested array length as it's immediately followed by code filling it. It's easier to check e.g. why we need 4 entries for