summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/mac80211/patches/880-brcmsmac_suspend_signature.patch13
-rw-r--r--package/mac80211/patches/890-b43legay-antenna-gain.patch11
2 files changed, 11 insertions, 13 deletions
diff --git a/package/mac80211/patches/880-brcmsmac_suspend_signature.patch b/package/mac80211/patches/880-brcmsmac_suspend_signature.patch
deleted file mode 100644
index c38e76a48..000000000
--- a/package/mac80211/patches/880-brcmsmac_suspend_signature.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Remove this patch when we get a new version of bcma into our kernel.
-
---- a/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
-+++ b/drivers/net/wireless/brcm80211/brcmsmac/mac80211_if.c
-@@ -1129,7 +1129,7 @@ static int __devinit brcms_bcma_probe(st
- return 0;
- }
-
--static int brcms_suspend(struct bcma_device *pdev)
-+static int brcms_suspend(struct bcma_device *pdev, pm_message_t state)
- {
- struct brcms_info *wl;
- struct ieee80211_hw *hw;
diff --git a/package/mac80211/patches/890-b43legay-antenna-gain.patch b/package/mac80211/patches/890-b43legay-antenna-gain.patch
new file mode 100644
index 000000000..9c1510a0c
--- /dev/null
+++ b/package/mac80211/patches/890-b43legay-antenna-gain.patch
@@ -0,0 +1,11 @@
+--- a/drivers/net/wireless/b43legacy/phy.c
++++ b/drivers/net/wireless/b43legacy/phy.c
+@@ -1860,7 +1860,7 @@ void b43legacy_phy_xmitpower(struct b43l
+ * which accounts for the factor of 4 */
+ #define REG_MAX_PWR 20
+ max_pwr = min(REG_MAX_PWR * 4
+- - dev->dev->bus->sprom.antenna_gain.ghz24.a0
++ - dev->dev->bus->sprom.antenna_gain.a0
+ - 0x6, max_pwr);
+
+ /* find the desired power in Q5.2 - power_level is in dBm