Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214648
b: refs/heads/master
c: b5be3ef
h: refs/heads/master
v: v3
  • Loading branch information
Johannes Berg authored and John W. Linville committed Sep 14, 2010
1 parent d92a82d commit 23d805a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 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: 740c1aa3b01251c3c324743f395621749b099065
refs/heads/master: b5be3efc34294cc34e305903df6a388950e8d1f3
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/iwlwifi/iwl-agn-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1158,7 +1158,6 @@ void iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif)
.flags = CMD_SIZE_HUGE,
};
struct iwl_scan_cmd *scan;
struct ieee80211_conf *conf = NULL;
struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS];
u32 rate_flags = 0;
u16 cmd_len;
Expand All @@ -1175,8 +1174,6 @@ void iwlagn_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif)
if (vif)
ctx = iwl_rxon_ctx_from_vif(vif);

conf = ieee80211_get_hw_conf(priv->hw);

cancel_delayed_work(&priv->scan_check);

if (!iwl_is_ready(priv)) {
Expand Down
6 changes: 0 additions & 6 deletions trunk/drivers/net/wireless/iwlwifi/iwl3945-base.c
Original file line number Diff line number Diff line change
Expand Up @@ -2568,12 +2568,9 @@ static void __iwl3945_down(struct iwl_priv *priv)
{
unsigned long flags;
int exit_pending = test_bit(STATUS_EXIT_PENDING, &priv->status);
struct ieee80211_conf *conf = NULL;

IWL_DEBUG_INFO(priv, DRV_NAME " is going down\n");

conf = ieee80211_get_hw_conf(priv->hw);

if (!exit_pending)
set_bit(STATUS_EXIT_PENDING, &priv->status);

Expand Down Expand Up @@ -2827,13 +2824,10 @@ void iwl3945_request_scan(struct iwl_priv *priv, struct ieee80211_vif *vif)
.flags = CMD_SIZE_HUGE,
};
struct iwl3945_scan_cmd *scan;
struct ieee80211_conf *conf = NULL;
u8 n_probes = 0;
enum ieee80211_band band;
bool is_active = false;

conf = ieee80211_get_hw_conf(priv->hw);

cancel_delayed_work(&priv->scan_check);

if (!iwl_is_ready(priv)) {
Expand Down

0 comments on commit 23d805a

Please sign in to comment.