From: John W. Linville Date: Wed, 3 Jan 2007 02:22:05 +0000 (-0500) Subject: [PATCH] softmac: avoid assert in ieee80211softmac_wx_get_rate X-Git-Tag: v2.6.21-rc2~42^2~11^2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6bbdce5ac755e3b3cdcf9bb9fdbcc2af78ad34d0;p=pandora-kernel.git [PATCH] softmac: avoid assert in ieee80211softmac_wx_get_rate Unconfigured bcm43xx device can hit an assert() during wx_get_rate queries. This is because bcm43xx calls ieee80211softmac_start late (i.e. during open instead of probe). bcm43xx_net_open -> bcm43xx_init_board -> bcm43xx_select_wireless_core -> ieee80211softmac_start Fix is to check that device is running before completing ieee80211softmac_wx_get_rate. Signed-off-by: John W. Linville --- Reading git-diff-tree failed