Re: [PATCH 2/2] mwifiex: use 'total_ie_len' in mwifiex_update_bss_desc_with_ie()

From: Kalle Valo
Date: Tue Jun 25 2019 - 00:51:56 EST

Brian Norris <briannorris@xxxxxxxxxxxx> wrote:

> This is clearer than copy/pasting the magic number '+ 2' around, and it
> even saves the need for one existing comment.
> Cc: Takashi Iwai <tiwai@xxxxxxx>
> Signed-off-by: Brian Norris <briannorris@xxxxxxxxxxxx>
> Reviewed-by: Takashi Iwai <tiwai@xxxxxxx>

This depends on:

63d7ef36103d mwifiex: Don't abort on small, spec-compliant vendor IEs

Patch set to Awaiting Upstream.