From 00f63a28ed9d0ba489d854842a89769ae64e726a Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 8 Jul 2013 05:43:07 -0300 Subject: linux-libre: fix blank spaces on patch --- libre/linux-libre/PKGBUILD | 2 +- libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'libre/linux-libre') diff --git a/libre/linux-libre/PKGBUILD b/libre/linux-libre/PKGBUILD index 13fb52e58..8e96118c3 100644 --- a/libre/linux-libre/PKGBUILD +++ b/libre/linux-libre/PKGBUILD @@ -40,7 +40,7 @@ md5sums=('120df29f88622dabf7015a22c7cc8e25' '8267264d9a8966e57fdacd1fa1fc65c4' '04b21c79df0a952c22d681dd4f4562df' 'f3def2cefdcbb954c21d8505d23cc83c' - 'e0d1bfde44105d22a36507d0537d21c2' + '63b1d84fd82e5ea1c1e08a24d9d707b0' '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 39d318402..3ba839940 100644 --- a/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch +++ b/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch @@ -1,5 +1,5 @@ diff --git a/drivers/net/wireless/ath/ath9k/hif_usb.c b/drivers/net/wireless/ath/ath9k/hif_usb.c -index f5dda84..90ce6f3 100644 +index f5dda84..7730a5c 100644 --- a/drivers/net/wireless/ath/ath9k/hif_usb.c +++ b/drivers/net/wireless/ath/ath9k/hif_usb.c @@ -1124,7 +1124,7 @@ static void ath9k_hif_usb_firmware_cb(const struct firmware *fw, void *context) @@ -26,8 +26,8 @@ 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)) ++ * go back to first stage bootloader. */ ++ if (!unplugged && (hif_dev->flags & HIF_USB_FW_LOADED)) ath9k_hif_usb_reboot(udev); kfree(hif_dev); @@ -54,14 +54,14 @@ index 51496e7..d74697d 100644 struct hif_device_usb { struct usb_device *udev; diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c -index a47f5e0..9b6a8c7 100644 +index a47f5e0..3b202ff 100644 --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c @@ -846,6 +846,7 @@ static int ath9k_init_device(struct ath9k_htc_priv *priv, 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-54-g00ecf