Revert "ath10k: Search SMBIOS for OEM board file extension"
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 21 Feb 2017 19:47:06 +0000 (21:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Feb 2017 20:59:45 +0000 (15:59 -0500)
commit005c3490e9db23738d91e02788606c0fe4734723
tree501aa1ddf9ecfc22082f4648407e9f0602d74808
parente623a9e9dec29ae811d11f83d0074ba254aba374
Revert "ath10k: Search SMBIOS for OEM board file extension"

This reverts commit f2593cb1b29185d38db706cbcbe22ed538720ae1.

Paul reported that this patch with older board-2.bin ath10k initialisation
fails on Dell XPS 13:

ath10k_pci 0000:3a:00.0: failed to fetch board data for bus=pci,vendor=168c,
device=003e,subsystem-vendor=1a56,subsystem-device=1535,variant=RV_0520 from
ath10k/QCA6174/hw3.0/board-2.bin

The reason is that the older board-2.bin does not have the variant version of
the image name and ath10k does not fallback to the older naming scheme.

Reported-by: Paul Menzel <pmenzel@molgen.mpg.de>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=185621#c9
Fixes: f2593cb1b291 ("ath10k: Search SMBIOS for OEM board file extension")
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h