From: Eliad Peller Date: Mon, 25 Jun 2012 07:48:25 +0000 (+0300) Subject: mac80211: don't require associated->beacon_ies for ps X-Git-Tag: v3.6-rc1~125^2~57^2~208^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9b22fb87a00ceb8afa78089d5cf676cf8b3319d;p=pandora-kernel.git mac80211: don't require associated->beacon_ies for ps beacon_ies is needed only in order to extract the dtim period. However, even if it's missing we can still enter ps with dtim=1 (which also happens if the TIM ie is invalid). Most drivers don't use conf.max_sleep_period/ps_dtim_period anyway, and this check prevents them from entering ps if they don't have beacon (but only probe response), even though the beacon is not needed at all. Signed-off-by: Eliad Peller Signed-off-by: Johannes Berg --- Reading git-diff-tree failed