aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ray_cs.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ray_cs.c')
-rw-r--r--drivers/net/wireless/ray_cs.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c
index f1e916a31668..73972ee76540 100644
--- a/drivers/net/wireless/ray_cs.c
+++ b/drivers/net/wireless/ray_cs.c
@@ -35,7 +35,6 @@
35#include <linux/proc_fs.h> 35#include <linux/proc_fs.h>
36#include <linux/ptrace.h> 36#include <linux/ptrace.h>
37#include <linux/seq_file.h> 37#include <linux/seq_file.h>
38#include <linux/slab.h>
39#include <linux/string.h> 38#include <linux/string.h>
40#include <linux/timer.h> 39#include <linux/timer.h>
41#include <linux/init.h> 40#include <linux/init.h>
@@ -942,7 +941,6 @@ static netdev_tx_t ray_dev_start_xmit(struct sk_buff *skb,
942 case XMIT_MSG_BAD: 941 case XMIT_MSG_BAD:
943 case XMIT_OK: 942 case XMIT_OK:
944 default: 943 default:
945 dev->trans_start = jiffies;
946 dev_kfree_skb(skb); 944 dev_kfree_skb(skb);
947 } 945 }
948 946
@@ -1875,17 +1873,17 @@ static void ray_update_multi_list(struct net_device *dev, int all)
1875 writeb(0xff, &pccs->var); 1873 writeb(0xff, &pccs->var);
1876 local->num_multi = 0xff; 1874 local->num_multi = 0xff;
1877 } else { 1875 } else {
1878 struct dev_mc_list *dmi; 1876 struct netdev_hw_addr *ha;
1879 int i = 0; 1877 int i = 0;
1880 1878
1881 /* Copy the kernel's list of MC addresses to card */ 1879 /* Copy the kernel's list of MC addresses to card */
1882 netdev_for_each_mc_addr(dmi, dev) { 1880 netdev_for_each_mc_addr(ha, dev) {
1883 memcpy_toio(p, dmi->dmi_addr, ETH_ALEN); 1881 memcpy_toio(p, ha->addr, ETH_ALEN);
1884 dev_dbg(&link->dev, 1882 dev_dbg(&link->dev,
1885 "ray_update_multi add addr %02x%02x%02x%02x%02x%02x\n", 1883 "ray_update_multi add addr %02x%02x%02x%02x%02x%02x\n",
1886 dmi->dmi_addr[0], dmi->dmi_addr[1], 1884 ha->addr[0], ha->addr[1],
1887 dmi->dmi_addr[2], dmi->dmi_addr[3], 1885 ha->addr[2], ha->addr[3],
1888 dmi->dmi_addr[4], dmi->dmi_addr[5]); 1886 ha->addr[4], ha->addr[5]);
1889 p += ETH_ALEN; 1887 p += ETH_ALEN;
1890 i++; 1888 i++;
1891 } 1889 }