diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index 0953a9c..8123156 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c @@ -1523,6 +1523,7 @@ static int iwl4965_send_tx_power(struct iwl_priv *priv) * the stack trace to find out who is calling this during * a scan. */ IWL_WARNING("TX Power requested while scanning!\n"); + dump_stack(); return -EAGAIN; } diff --git a/net/wireless/reg.c b/net/wireless/reg.c index 5dab72d..7ffa736 100644 --- a/net/wireless/reg.c +++ b/net/wireless/reg.c @@ -71,9 +71,7 @@ static const struct ieee80211_regdomain world_regdom = { .n_reg_rules = 1, .alpha2 = "00", .reg_rules = { - REG_RULE(2412-10, 2462+10, 40, 6, 20, - NL80211_RRF_PASSIVE_SCAN | - NL80211_RRF_NO_IBSS), + REG_RULE(2412-10, 2462+10, 40, 6, 27, 0), } };