Search Linux Wireless

Re: [PATCH] wl18xx: fallback to default conf in case of invalid conf file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 8, 2015 at 4:12 PM, Kalle Valo <kvalo@xxxxxxxxxxxxxx> wrote:
>
> Eliad Peller <eliad@xxxxxxxxxx> writes:
>
> > If the wl18xx-conf.bin file is missing or invalid (e.g. due
> > to recent driver change), fallback to default configuration
> > instead of failing driver load.
> >
> > Reported-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
> > Signed-off-by: Eliad Peller <eliad@xxxxxxxxxx>
>
> This tells me that wl18xx is doing something wrong. The driver should
> still work normally even if user space is old (and vice versa). Should
> this configuration file (whatever that even is) have a version number in
> file name to handle incompatible changes in a backwards compatible
> manner?
>
the configuration file has a version number only in the header.
it is not backward compatible.

this is certainly not the optimal way to go, but since the driver will
now fallback to the default configuration, i guess it should be good
enough, and won't (completely) break current users.
(most users will use the default configuration anyway, so the conf
file is not that important)

Eliad.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux