From a23e5eb01b3702889ec5433c907ddd7bf2372d4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Fabian=20Silva=20Delgado?= Date: Mon, 8 Jul 2013 05:32:49 -0300 Subject: linux-libre: fix ath9k-htc patch --- libre/linux-libre/PKGBUILD | 2 +- libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'libre/linux-libre') diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index c28f53521..13fb52e58 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -40,7 +40,7 @@ md5sums=('120df29f88622dabf7015a22c7cc8e25' '8267264d9a8966e57fdacd1fa1fc65c4' '04b21c79df0a952c22d681dd4f4562df' 'f3def2cefdcbb954c21d8505d23cc83c' - 'db6ad371bb61e04b960c453d95e1d5cd' + 'e0d1bfde44105d22a36507d0537d21c2' '30092ce96affb12f89a9eddfad966741') if [ "$CARCH" != "mips64el" ]; then # Don't use the Loongson-specific patches on non-mips64el arches. diff --git a/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch b/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch index ff6bb410e..39d318402 100644 --- a/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch +++ b/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch @@ -27,7 +27,7 @@ index f5dda84..90ce6f3 100644 - if (!unplugged && (hif_dev->flags & HIF_USB_START)) + /* If firmware was loaded we should drop it + * go back to first stage bootloader. */ -+ if (!unplugged && (hif_dev->flags & HIF_USB_FW_LOADED)) ++ if (!unplugged && (hif_dev->flags & HIF_USB_FW_LOADED)) ath9k_hif_usb_reboot(udev); kfree(hif_dev); @@ -61,7 +61,7 @@ index a47f5e0..9b6a8c7 100644 if (error != 0) goto err_rx; -+ ath9k_hw_disable(priv->ah); ++ ath9k_hw_disable(priv->ah); #ifdef CONFIG_MAC80211_LEDS /* must be initialized before ieee80211_register_hw */ priv->led_cdev.default_trigger = ieee80211_create_tpt_led_trigger(priv->hw, -- cgit v1.2.3-2-g168b