linux/drivers/net/wireless/ath/ath10k
Ryan Hsu 9ce8b24aa9 Revert "ath10k: add sanity check to ie_len before parsing fw/board ie"
This reverts commit 9ed4f91628.

The commit introduced a regression that over read the ie with
the padding.

- the expected IE information

ath10k_pci 0000:03:00.0: found firmware features ie (1 B)
ath10k_pci 0000:03:00.0: Enabling feature bit: 6
ath10k_pci 0000:03:00.0: Enabling feature bit: 7
ath10k_pci 0000:03:00.0: features
ath10k_pci 0000:03:00.0: 00000000: c0 00 00 00 00 00 00 00

- the wrong IE with padding is read (0x77)

ath10k_pci 0000:03:00.0: found firmware features ie (4 B)
ath10k_pci 0000:03:00.0: Enabling feature bit: 6
ath10k_pci 0000:03:00.0: Enabling feature bit: 7
ath10k_pci 0000:03:00.0: Enabling feature bit: 8
ath10k_pci 0000:03:00.0: Enabling feature bit: 9
ath10k_pci 0000:03:00.0: Enabling feature bit: 10
ath10k_pci 0000:03:00.0: Enabling feature bit: 12
ath10k_pci 0000:03:00.0: Enabling feature bit: 13
ath10k_pci 0000:03:00.0: Enabling feature bit: 14
ath10k_pci 0000:03:00.0: Enabling feature bit: 16
ath10k_pci 0000:03:00.0: Enabling feature bit: 17
ath10k_pci 0000:03:00.0: Enabling feature bit: 18
ath10k_pci 0000:03:00.0: features
ath10k_pci 0000:03:00.0: 00000000: c0 77 07 00 00 00 00 00

Tested-by: Mike Lothian <mike@fireburn.co.uk>
Signed-off-by: Ryan Hsu <ryanhsu@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-02-08 14:34:18 +02:00
..
Kconfig ath10k: move spectral scan support under a separate config symbol 2017-12-07 16:32:03 +02:00
Makefile ath10k: detach coredump.c from debug.c 2017-12-27 12:20:23 +02:00
ahb.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
ahb.h ath10k: expose hif ops for ahb 2016-01-28 10:47:28 +02:00
bmi.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
bmi.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
ce.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
ce.h ath10k: fix recently introduced checkpatch warnings 2018-01-16 16:34:42 +02:00
core.c Revert "ath10k: add sanity check to ie_len before parsing fw/board ie" 2018-02-08 14:34:18 +02:00
core.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
coredump.c ath10k: correct the length of DRAM dump for QCA6174 hw3.x/QCA9377 hw1.1 2018-02-07 16:07:35 +02:00
coredump.h ath10k: add memory dump support for QCA6174/QCA9377 2017-12-27 12:20:41 +02:00
debug.c ath10k: fix kernel panic issue during pci probe 2018-02-07 16:16:10 +02:00
debug.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
debugfs_sta.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
hif.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
htc.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
htc.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
htt.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
htt.h ath10k: fix recently introduced checkpatch warnings 2018-01-16 16:34:42 +02:00
htt_rx.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
htt_tx.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
hw.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
hw.h ath10k: add support for Ubiquiti rebranded QCA988X v2 2018-02-07 16:09:44 +02:00
mac.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
mac.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
p2p.c ath10k: remove ath10k_vif_to_arvif() 2017-02-14 19:38:15 +02:00
p2p.h ath10k: implement handling of p2p noa event 2015-03-07 09:57:42 +02:00
pci.c ath10k: add support for Ubiquiti rebranded QCA988X v2 2018-02-07 16:09:44 +02:00
pci.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
rx_desc.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
sdio.c ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
sdio.h ath10k: sdio: remove unused struct member 2017-08-31 15:14:18 +03:00
spectral.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
spectral.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
swap.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
targaddrs.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
testmode.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
testmode.h ath10k: add testmode 2014-09-11 23:42:36 +03:00
testmode_i.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
thermal.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
thermal.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
trace.c
trace.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
txrx.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
txrx.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
usb.c ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
usb.h ath10k: add initial USB support 2017-08-03 14:31:01 +03:00
wmi-ops.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
wmi-tlv.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
wmi-tlv.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00
wmi.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
wmi.h ath10k: fix spelling error 2018-01-09 10:18:20 +02:00
wow.c ath10k: update copyright year 2017-12-27 12:22:01 +02:00
wow.h ath10k: update copyright year 2017-12-27 12:22:01 +02:00