Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167275
b: refs/heads/master
c: 6d7fd64
h: refs/heads/master
i:
  167273: c43a08c
  167271: 62db213
v: v3
  • Loading branch information
Jeff Mahoney authored and Greg Kroah-Hartman committed Oct 9, 2009
1 parent 62c96f4 commit c7afd68
Show file tree
Hide file tree
Showing 2 changed files with 10 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: 4074e77ca3c0c5047acb012a440022ca1f3a2dab
refs/heads/master: 6d7fd647c236c5b4ac4a27b17180ea8d7d169c8d
11 changes: 9 additions & 2 deletions trunk/drivers/staging/winbond/wbusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,18 +99,24 @@ static int wbsoft_get_tx_stats(struct ieee80211_hw *hw,
return 0;
}

static u64 wbsoft_prepare_multicast(struct ieee80211_hw *hw, int mc_count,
struct dev_addr_list *mc_list)
{
return mc_count;
}

static void wbsoft_configure_filter(struct ieee80211_hw *dev,
unsigned int changed_flags,
unsigned int *total_flags,
int mc_count, struct dev_mc_list *mclist)
u64 multicast)
{
unsigned int new_flags;

new_flags = 0;

if (*total_flags & FIF_PROMISC_IN_BSS)
new_flags |= FIF_PROMISC_IN_BSS;
else if ((*total_flags & FIF_ALLMULTI) || (mc_count > 32))
else if ((*total_flags & FIF_ALLMULTI) || (multicast > 32))
new_flags |= FIF_ALLMULTI;

dev->flags &= ~IEEE80211_HW_RX_INCLUDES_FCS;
Expand Down Expand Up @@ -278,6 +284,7 @@ static const struct ieee80211_ops wbsoft_ops = {
.add_interface = wbsoft_add_interface,
.remove_interface = wbsoft_remove_interface,
.config = wbsoft_config,
.prepare_multicast = wbsoft_prepare_multicast,
.configure_filter = wbsoft_configure_filter,
.get_stats = wbsoft_get_stats,
.get_tx_stats = wbsoft_get_tx_stats,
Expand Down

0 comments on commit c7afd68

Please sign in to comment.