From: Ilan Peer Date: Thu, 10 May 2012 12:53:14 +0000 (+0300) Subject: iwlwifi: Check BSS ctx active before call mac80211 X-Git-Tag: v3.6-rc1~125^2~57^2~362 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e19ebcab01cc130fa832764d453b263460ec3b91;p=pandora-kernel.git iwlwifi: Check BSS ctx active before call mac80211 It is possible that the BSS context is not active (for example when the current mode is set to GO), or that the vif->type is different than station. In such a case we cannot call mac80211 to report the average rssi for the interface (the function assumes that the vif is valid and that the type is station). Reviewed-by: Emmanuel Grumbach Signed-off-by: Ilan Peer Signed-off-by: Johannes Berg --- Reading git-diff-tree failed