On Sun, 2012-06-03 at 11:16 +0200, Sebastian Kemper wrote: > On Wed, May 30, 2012 at 03:29:03PM +0200, Johannes Berg wrote: > > Could you try this patch please? > > > > johannes > > > > diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c > > b/drivers/net/wireless/iwlwifi/iwl-mac80211.c index ab2f4d7..06546f7 > > 100644 --- a/drivers/net/wireless/iwlwifi/iwl-mac80211.c +++ > > b/drivers/net/wireless/iwlwifi/iwl-mac80211.c @@ -199,6 +199,7 @@ int > > iwlagn_mac_setup_register(struct iwl_priv *priv, > > WIPHY_FLAG_DISABLE_BEACON_HINTS | WIPHY_FLAG_IBSS_RSN; > > > > +#ifdef CONFIG_PM if (priv->fw->img[IWL_UCODE_WOWLAN].sec[0].len && > > priv->trans->ops->wowlan_suspend && > > device_can_wakeup(priv->trans->dev)) { @@ -217,6 +218,7 @@ int > > iwlagn_mac_setup_register(struct iwl_priv *priv, > > hw->wiphy->wowlan.pattern_max_len = IWLAGN_WOWLAN_MAX_PATTERN_LEN; } > > +#endif > > > > if (iwlwifi_mod_params.power_save) hw->wiphy->flags |= > > WIPHY_FLAG_PS_ON_BY_DEFAULT; > > Hello Johannes, > > the patch doesn't apply on top of 3.2.18 (kernel I currently use), > neither on 3.3.7. Oh, so this goes back much further than I thought. Well, the easiest is probably if you find the wowlan.pattern_max_len stuff etc. and put #ifdef around the whole wowlan block manually, like in my patch. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html