On Mon, 2018-04-23 at 16:10 +0300, Kalle Valo wrote: > Luca Coelho <luca@xxxxxxxxx> writes: > > > From: Luca Coelho <luciano.coelho@xxxxxxxxx> > > > > When version 8 of the scan command API was introduced, only the > > size > > of version 7 was updated, causing older versions of the firmware to > > throw BAD_COMMAND errors. > > > > Calculating the old version based on the size of the latest version > > got too complicated and the size of the older versions will never > > change anyway, so it's better to just hardcoded the sizes. > > > > Fixes: 66fa2424df16 ("iwlwifi: fw api: support the new scan request > > FW API version") > > Reported-by: Scott Register <sreg@xxxxxxx> > > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> > > I guess this is for 4.17? Should I apply this directly? I'm hoping to > send a pull request today or tomorrow. Yes, please do if you're sending a pull request today or tomorrow. I sent it out by itself to sync with you about it. I'll only send a pull req for v.4.17 on Friday or so. Thanks, Kalle! -- Cheers, Luca.