Revert "madwifi: fix compilation against Linux 3.8" - it was premature
This reverts commit 37054015dda3e65658158a7ca73262c85e8eb002. git-svn-id: svn://svn.openwrt.org/openwrt/packages@36012 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
/* Allocate space for dynamically determined maximum VAP count */
|
||||
sc->sc_bslot =
|
||||
kmalloc(ath_maxvaps * sizeof(struct ieee80211vap*), GFP_KERNEL);
|
||||
@@ -1508,6 +1520,29 @@ ath_vap_create(struct ieee80211com *ic,
|
||||
@@ -1508,6 +1520,29 @@ ath_vap_create(struct ieee80211com *ic,
|
||||
return vap;
|
||||
}
|
||||
|
||||
@ -226,7 +226,7 @@
|
||||
|
||||
#include <asm/io.h>
|
||||
#include <asm/uaccess.h>
|
||||
@@ -181,12 +182,32 @@ exit_ath_wmac(u_int16_t wlanNum, struct
|
||||
@@ -181,12 +182,32 @@ exit_ath_wmac(u_int16_t wlanNum, struct
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -278,7 +278,7 @@
|
||||
bad4:
|
||||
--- a/ath/if_ath_pci.c
|
||||
+++ b/ath/if_ath_pci.c
|
||||
@@ -125,6 +125,33 @@ static u16 ath_devidmap[][2] = {
|
||||
@@ -123,6 +123,33 @@ static u16 ath_devidmap[][2] = {
|
||||
{ 0xff1a, 0x001a }
|
||||
};
|
||||
|
||||
@ -312,7 +312,7 @@
|
||||
static int
|
||||
ath_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
|
||||
{
|
||||
@@ -259,6 +286,10 @@ ath_pci_probe(struct pci_dev *pdev, cons
|
||||
@@ -257,6 +284,10 @@ ath_pci_probe(struct pci_dev *pdev, cons
|
||||
printk(KERN_INFO "%s: %s: %s: mem=0x%lx, irq=%d\n",
|
||||
dev_info, dev->name, athname ? athname : "Atheros ???", phymem, dev->irq);
|
||||
|
||||
|
Reference in New Issue
Block a user