Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 186869
b: refs/heads/master
c: a71b676
h: refs/heads/master
i:
  186867: 974dded
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 4, 2010
1 parent 556e7b1 commit 31f3158
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 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: f341dddf1dadf64be309791f83d7904245f1261d
refs/heads/master: a71b676fa9b92119c0fb4e3fab34e45a17f15107
14 changes: 3 additions & 11 deletions trunk/drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,17 @@ static void hal_set_beacon_period(struct hw_data *pHwData, u16 beacon_period)
}

static int wbsoft_add_interface(struct ieee80211_hw *dev,
struct ieee80211_if_init_conf *conf)
struct ieee80211_vif *vif)
{
struct wbsoft_priv *priv = dev->priv;

hal_set_beacon_period(&priv->sHwData, conf->vif->bss_conf.beacon_int);
hal_set_beacon_period(&priv->sHwData, vif->bss_conf.beacon_int);

return 0;
}

static void wbsoft_remove_interface(struct ieee80211_hw *dev,
struct ieee80211_if_init_conf *conf)
struct ieee80211_vif *vif)
{
printk("wbsoft_remove interface called\n");
}
Expand All @@ -92,13 +92,6 @@ static int wbsoft_get_stats(struct ieee80211_hw *hw,
return 0;
}

static int wbsoft_get_tx_stats(struct ieee80211_hw *hw,
struct ieee80211_tx_queue_stats *stats)
{
printk(KERN_INFO "%s called\n", __func__);
return 0;
}

static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, int mc_count,
struct dev_addr_list *mc_list)
{
Expand Down Expand Up @@ -287,7 +280,6 @@ static const struct ieee80211_ops wbsoft_ops = {
.prepare_multicast = wbsoft_prepare_multicast,
.configure_filter = wbsoft_configure_filter,
.get_stats = wbsoft_get_stats,
.get_tx_stats = wbsoft_get_tx_stats,
.get_tsf = wbsoft_get_tsf,
};

Expand Down

0 comments on commit 31f3158

Please sign in to comment.