diff options
| -rw-r--r-- | drivers/staging/winbond/wbusb.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index ecf418dcefd9..3482eec18651 100644 --- a/drivers/staging/winbond/wbusb.c +++ b/drivers/staging/winbond/wbusb.c | |||
| @@ -65,17 +65,17 @@ static void hal_set_beacon_period(struct hw_data *pHwData, u16 beacon_period) | |||
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | static int wbsoft_add_interface(struct ieee80211_hw *dev, | 67 | static int wbsoft_add_interface(struct ieee80211_hw *dev, |
| 68 | struct ieee80211_if_init_conf *conf) | 68 | struct ieee80211_vif *vif) |
| 69 | { | 69 | { |
| 70 | struct wbsoft_priv *priv = dev->priv; | 70 | struct wbsoft_priv *priv = dev->priv; |
| 71 | 71 | ||
| 72 | hal_set_beacon_period(&priv->sHwData, conf->vif->bss_conf.beacon_int); | 72 | hal_set_beacon_period(&priv->sHwData, vif->bss_conf.beacon_int); |
| 73 | 73 | ||
| 74 | return 0; | 74 | return 0; |
| 75 | } | 75 | } |
| 76 | 76 | ||
| 77 | static void wbsoft_remove_interface(struct ieee80211_hw *dev, | 77 | static void wbsoft_remove_interface(struct ieee80211_hw *dev, |
| 78 | struct ieee80211_if_init_conf *conf) | 78 | struct ieee80211_vif *vif) |
| 79 | { | 79 | { |
| 80 | printk("wbsoft_remove interface called\n"); | 80 | printk("wbsoft_remove interface called\n"); |
| 81 | } | 81 | } |
| @@ -92,13 +92,6 @@ static int wbsoft_get_stats(struct ieee80211_hw *hw, | |||
| 92 | return 0; | 92 | return 0; |
| 93 | } | 93 | } |
| 94 | 94 | ||
| 95 | static int wbsoft_get_tx_stats(struct ieee80211_hw *hw, | ||
| 96 | struct ieee80211_tx_queue_stats *stats) | ||
| 97 | { | ||
| 98 | printk(KERN_INFO "%s called\n", __func__); | ||
| 99 | return 0; | ||
| 100 | } | ||
| 101 | |||
| 102 | static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, int mc_count, | 95 | static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, int mc_count, |
| 103 | struct dev_addr_list *mc_list) | 96 | struct dev_addr_list *mc_list) |
| 104 | { | 97 | { |
| @@ -287,7 +280,6 @@ static const struct ieee80211_ops wbsoft_ops = { | |||
| 287 | .prepare_multicast = wbsoft_prepare_multicast, | 280 | .prepare_multicast = wbsoft_prepare_multicast, |
| 288 | .configure_filter = wbsoft_configure_filter, | 281 | .configure_filter = wbsoft_configure_filter, |
| 289 | .get_stats = wbsoft_get_stats, | 282 | .get_stats = wbsoft_get_stats, |
| 290 | .get_tx_stats = wbsoft_get_tx_stats, | ||
| 291 | .get_tsf = wbsoft_get_tsf, | 283 | .get_tsf = wbsoft_get_tsf, |
| 292 | }; | 284 | }; |
| 293 | 285 | ||
