diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:35 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:35 +0000 |
commit | 06f3f01b06940547c3293aa8589696e24173dddd (patch) | |
tree | a28d773924039e566e0094260330f2291aae5600 /package/kernel/acx-mac80211/patches/200-initial-macaddr.patch | |
parent | 8a240be62b35193c945cf94e448ac24f215b2f31 (diff) | |
download | upstream-06f3f01b06940547c3293aa8589696e24173dddd.tar.gz upstream-06f3f01b06940547c3293aa8589696e24173dddd.tar.bz2 upstream-06f3f01b06940547c3293aa8589696e24173dddd.zip |
acx-mac80211: update to latest version
Fixes compilation for linux 3.10.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 38367
Diffstat (limited to 'package/kernel/acx-mac80211/patches/200-initial-macaddr.patch')
-rw-r--r-- | package/kernel/acx-mac80211/patches/200-initial-macaddr.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/package/kernel/acx-mac80211/patches/200-initial-macaddr.patch b/package/kernel/acx-mac80211/patches/200-initial-macaddr.patch index cc82fecbb3..612a87663c 100644 --- a/package/kernel/acx-mac80211/patches/200-initial-macaddr.patch +++ b/package/kernel/acx-mac80211/patches/200-initial-macaddr.patch @@ -1,15 +1,13 @@ --- a/cardsetting.c +++ b/cardsetting.c -@@ -710,12 +710,27 @@ static int acx1xx_get_station_id(acx_dev - u8 stationID[4 + acx_ie_descs[ACX1xx_IE_DOT11_STATION_ID].len]; +@@ -710,10 +710,25 @@ static int acx1xx_get_station_id(acx_dev + u8 *stationID = adev->ie_cmd_buf;; const u8 *paddr; int i, res; + const char *prom_addr; + char *prom_getenv(const char *name); - - - res = acx_interrogate(adev, &stationID, ACX1xx_IE_DOT11_STATION_ID); + res = acx_interrogate(adev, stationID, ACX1xx_IE_DOT11_STATION_ID); paddr = &stationID[4]; - for (i = 0; i < ETH_ALEN; i++) { + prom_addr = NULL; |