diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /net/wireless/wext-spy.c | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'net/wireless/wext-spy.c')
-rw-r--r-- | net/wireless/wext-spy.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/wireless/wext-spy.c b/net/wireless/wext-spy.c index 33bef22e44e..6dcfe65a2d1 100644 --- a/net/wireless/wext-spy.c +++ b/net/wireless/wext-spy.c | |||
@@ -10,7 +10,6 @@ | |||
10 | #include <linux/wireless.h> | 10 | #include <linux/wireless.h> |
11 | #include <linux/netdevice.h> | 11 | #include <linux/netdevice.h> |
12 | #include <linux/etherdevice.h> | 12 | #include <linux/etherdevice.h> |
13 | #include <linux/export.h> | ||
14 | #include <net/iw_handler.h> | 13 | #include <net/iw_handler.h> |
15 | #include <net/arp.h> | 14 | #include <net/arp.h> |
16 | #include <net/wext.h> | 15 | #include <net/wext.h> |
@@ -203,7 +202,7 @@ void wireless_spy_update(struct net_device * dev, | |||
203 | 202 | ||
204 | /* Update all records that match */ | 203 | /* Update all records that match */ |
205 | for (i = 0; i < spydata->spy_number; i++) | 204 | for (i = 0; i < spydata->spy_number; i++) |
206 | if (ether_addr_equal(address, spydata->spy_address[i])) { | 205 | if (!compare_ether_addr(address, spydata->spy_address[i])) { |
207 | memcpy(&(spydata->spy_stat[i]), wstats, | 206 | memcpy(&(spydata->spy_stat[i]), wstats, |
208 | sizeof(struct iw_quality)); | 207 | sizeof(struct iw_quality)); |
209 | match = i; | 208 | match = i; |