Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266730
b: refs/heads/master
c: 3bde2b6
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Oct 14, 2011
1 parent 89789b3 commit 006c9f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7e4005cc4ae49100582ee1c97368dd79474f0a82
refs/heads/master: 3bde2b68cfdeb3b68284172fa7759287a63cd981
11 changes: 11 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3074,6 +3074,16 @@ static void iwl_mac_rssi_callback(struct ieee80211_hw *hw,
mutex_unlock(&priv->shrd->mutex);
}

static int iwl_mac_set_tim(struct ieee80211_hw *hw,
struct ieee80211_sta *sta, bool set)
{
struct iwl_priv *priv = hw->priv;

queue_work(priv->shrd->workqueue, &priv->beacon_update);

return 0;
}

struct ieee80211_ops iwlagn_hw_ops = {
.tx = iwlagn_mac_tx,
.start = iwlagn_mac_start,
Expand Down Expand Up @@ -3107,6 +3117,7 @@ struct ieee80211_ops iwlagn_hw_ops = {
CFG80211_TESTMODE_DUMP(iwl_testmode_dump)
.tx_sync = iwl_mac_tx_sync,
.finish_tx_sync = iwl_mac_finish_tx_sync,
.set_tim = iwl_mac_set_tim,
};

static u32 iwl_hw_detect(struct iwl_priv *priv)
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/net/wireless/iwlwifi/iwl-rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,6 @@ static int iwl_rx_beacon_notif(struct iwl_priv *priv,

priv->ibss_manager = le32_to_cpu(beacon->ibss_mgr_status);

if (!test_bit(STATUS_EXIT_PENDING, &priv->shrd->status))
queue_work(priv->shrd->workqueue, &priv->beacon_update);
return 0;
}

Expand Down

0 comments on commit 006c9f8

Please sign in to comment.