projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: use ieee80211_free_txskb in a few more places to prevent skb leaks
[openwrt.git]
/
package
/
mac80211
/
patches
/
431-add_platform_eeprom_support_to_ath5k.patch
diff --git
a/package/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch
b/package/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch
index 36b2c1c9f0e9095a590f9842937534510ee7d6fe..6cafa236a7cc15a25f6ed3bd492f46583a48579a 100644
(file)
--- a/
package/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch
+++ b/
package/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch
@@
-1,6
+1,6
@@
--- a/drivers/net/wireless/ath/ath5k/pci.c
+++ b/drivers/net/wireless/ath/ath5k/pci.c
--- a/drivers/net/wireless/ath/ath5k/pci.c
+++ b/drivers/net/wireless/ath/ath5k/pci.c
-@@ -2
2,6 +22
,7 @@
+@@ -2
3,6 +23
,7 @@
#include <linux/pci-aspm.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
#include <linux/pci-aspm.h>
#include <linux/etherdevice.h>
#include <linux/module.h>
@@
-8,7
+8,7
@@
#include "../ath.h"
#include "ath5k.h"
#include "debug.h"
#include "../ath.h"
#include "ath5k.h"
#include "debug.h"
-@@ -7
2,7 +73
,7 @@ static void ath5k_pci_read_cachesize(str
+@@ -7
4,7 +75
,7 @@ static void ath5k_pci_read_cachesize(str
}
/*
}
/*
@@
-17,7
+17,7
@@
*/
static bool
ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
*/
static bool
ath5k_pci_eeprom_read(struct ath_common *common, u32 offset, u16 *data)
-@@ -8
0,6 +81
,19 @@ ath5k_pci_eeprom_read(struct ath_common
+@@ -8
2,6 +83
,19 @@ ath5k_pci_eeprom_read(struct ath_common
struct ath5k_hw *ah = (struct ath5k_hw *) common->ah;
u32 status, timeout;
struct ath5k_hw *ah = (struct ath5k_hw *) common->ah;
u32 status, timeout;
@@
-37,7
+37,7
@@
/*
* Initialize EEPROM access
*/
/*
* Initialize EEPROM access
*/
-@@ -12
3,6 +137
,16 @@ static int ath5k_pci_eeprom_read_mac(str
+@@ -12
5,6 +139
,16 @@ static int ath5k_pci_eeprom_read_mac(str
u16 data;
int octet;
u16 data;
int octet;