]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: remove a bogus WARN_ON
authorFelix Fietkau <nbd@openwrt.org>
Sat, 13 Aug 2011 16:13:49 +0000 (10:13 -0600)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Aug 2011 18:05:19 +0000 (14:05 -0400)
commitad368034294c2909930098f12e666a19dff2e29e
treea43109943f32065f36e80d3ee78293b2678377cd
parent7036cc23dc75289e73a5377f33da7ea318d172c8
ath9k: remove a bogus WARN_ON

On embedded hardware it's normal to not have a PCI device for the PCI
bridge that the wifi card is attached to. pdev->bus->self will be
NULL in that case. In that case, simply return without emitting an
useless kernel stack trace.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/pci.c