summaryrefslogtreecommitdiff
path: root/libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-08 05:32:49 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-07-08 05:32:49 -0300
commita23e5eb01b3702889ec5433c907ddd7bf2372d4e (patch)
tree1645aa0b9526d5dfbfe01fd545a0ca0f53083d65 /libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch
parent13f9d20d4cd910574d3d92ffb96b1fe61df19427 (diff)
downloadabslibre-a23e5eb01b3702889ec5433c907ddd7bf2372d4e.tar.gz
abslibre-a23e5eb01b3702889ec5433c907ddd7bf2372d4e.tar.bz2
abslibre-a23e5eb01b3702889ec5433c907ddd7bf2372d4e.zip
linux-libre: fix ath9k-htc patch
Diffstat (limited to 'libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch')
-rw-r--r--libre/linux-libre/ath9k_htc-fix-target-is-unresponsive.patch4
1 files changed, 2 insertions, 2 deletions
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,