summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorPatrick Rudolph <siro@das-labor.org>2017-06-07 09:39:28 +0200
committerPatrick Rudolph <siro@das-labor.org>2017-06-08 11:39:58 +0200
commit6086b4ee38bf7f004fdff4e5f783754607da54e5 (patch)
tree3b41103f3ada11fd3e03967f2bdf19b1972f3253 /src/arch
parent811d93af39142b4e18073574db69bfe36af512b1 (diff)
drvs/intel/wifi/wifi: Fix regression
Fix regression introduced by commit 5c026445 (drivers/intel/wifi: Add support for generating SSDT table) In case the regular PCI path is taken, there're no chip_ops and the code will segfault. The bug was covered by other bugs that caused this code to never execute. Add NULL pointer checks and only fill in device name if one is provided. Tested on Lenovo T430 and wifi card 8086:0085. Change-Id: I84e804f033bcd3af1a7f76670275fdf5159d381f Signed-off-by: Patrick Rudolph <siro@das-labor.org> Reviewed-on: https://review.coreboot.org/20082 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions