mwifiex: use 'total_ie_len' in mwifiex_update_bss_desc_with_ie()
authorBrian Norris <briannorris@chromium.org>
Sat, 15 Jun 2019 00:13:21 +0000 (17:13 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 1 Oct 2019 09:22:36 +0000 (12:22 +0300)
commit0a3ce169476feca7869255c681884ed227a319c8
treea4ab3c24e9102953bad257f5c211fcae9739db1e
parent7da413a18583baaf35dd4a8eb414fa410367d7f2
mwifiex: use 'total_ie_len' in mwifiex_update_bss_desc_with_ie()

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@suse.de>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/marvell/mwifiex/scan.c