Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150405
b: refs/heads/master
c: 49ca37e
h: refs/heads/master
i:
  150403: 799bca0
v: v3
  • Loading branch information
Alexander Beregalov authored and John W. Linville committed May 20, 2009
1 parent 224fe19 commit 2ab62d0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 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: 153e080da6a07ed888a0a59c45e28bc7351407ff
refs/heads/master: 49ca37e2d29569d7408f3c92f15c4a33e459a987
15 changes: 9 additions & 6 deletions trunk/drivers/staging/agnx/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,14 +303,18 @@ static int agnx_config(struct ieee80211_hw *dev, u32 changed)
return 0;
}

static int agnx_config_interface(struct ieee80211_hw *dev,
struct ieee80211_vif *vif,
struct ieee80211_if_conf *conf)
static void agnx_bss_info_changed(struct ieee80211_hw *dev,
struct ieee80211_vif *vif,
struct ieee80211_bss_conf *conf,
u32 changed)
{
struct agnx_priv *priv = dev->priv;
void __iomem *ctl = priv->ctl;
AGNX_TRACE;

if (!(changed & BSS_CHANGED_BSSID))
return;

spin_lock(&priv->lock);

if (memcmp(conf->bssid, priv->bssid, ETH_ALEN)) {
Expand All @@ -323,8 +327,7 @@ static int agnx_config_interface(struct ieee80211_hw *dev,
agnx_write32(ctl, AGNX_BM_MTSM, 0xff & ~0x1);
}
spin_unlock(&priv->lock);
return 0;
} /* agnx_config_interface */
} /* agnx_bss_info_changed */


static void agnx_configure_filter(struct ieee80211_hw *dev,
Expand Down Expand Up @@ -422,7 +425,7 @@ static struct ieee80211_ops agnx_ops = {
.add_interface = agnx_add_interface,
.remove_interface = agnx_remove_interface,
.config = agnx_config,
.config_interface = agnx_config_interface,
.bss_info_changed = agnx_bss_info_changed,
.configure_filter = agnx_configure_filter,
.get_stats = agnx_get_stats,
.get_tx_stats = agnx_get_tx_stats,
Expand Down

0 comments on commit 2ab62d0

Please sign in to comment.