diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 00:36:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-10-11 00:36:23 +0000 |
commit | 4cb436429b8974624535733b07c33be70ff55c8d (patch) | |
tree | fdd1177dc4718a17abb4693be40332b15973c15a /package/mac80211/patches/405-compile_fix.patch | |
parent | 0ba61fe414f89fe61e990f124afcf9e6f8fe61e8 (diff) | |
download | upstream-4cb436429b8974624535733b07c33be70ff55c8d.tar.gz upstream-4cb436429b8974624535733b07c33be70ff55c8d.tar.bz2 upstream-4cb436429b8974624535733b07c33be70ff55c8d.zip |
mac80211: upgrade to latest compat-wireless, fix ad-hoc interface setup
SVN-Revision: 18023
Diffstat (limited to 'package/mac80211/patches/405-compile_fix.patch')
-rw-r--r-- | package/mac80211/patches/405-compile_fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/mac80211/patches/405-compile_fix.patch b/package/mac80211/patches/405-compile_fix.patch new file mode 100644 index 0000000000..10855d41ce --- /dev/null +++ b/package/mac80211/patches/405-compile_fix.patch @@ -0,0 +1,20 @@ +--- a/drivers/net/wireless/ath/ath9k/ahb.c ++++ b/drivers/net/wireless/ath/ath9k/ahb.c +@@ -29,15 +29,13 @@ static void ath_ahb_read_cachesize(struc + + static void ath_ahb_cleanup(struct ath_common *common) + { +- struct ath_hw *ah = (struct ath_hw *) common->ah; +- struct ath_softc *sc = ah->ah_sc; ++ struct ath_softc *sc = (struct ath_softc *) common->priv; + iounmap(sc->mem); + } + + static bool ath_ahb_eeprom_read(struct ath_common *common, u32 off, u16 *data) + { +- struct ath_hw *ah = (struct ath_hw *) common->ah; +- struct ath_softc *sc = ah->ah_sc; ++ struct ath_softc *sc = (struct ath_softc *) common->priv; + struct platform_device *pdev = to_platform_device(sc->dev); + struct ath9k_platform_data *pdata; + |