mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
a8f63a0717
This updates mac80211 to backprots-4.14-rc2. This was compile and runtime tested with ath9k, ath10k and b43 with multiple stations and ieee80211w and in different scenarios by many other people. To create the backports-4.14-rc2-1.tar.xz use this repository: https://git.kernel.org/pub/scm/linux/kernel/git/backports/backports.git from tag v4.14-rc2-1 Then run this: ./gentree.py --git-revision v4.14-rc2 --clean <path to linux repo> ../backports-4.14-rc2-1 This also adapts the ath10k-ct and mt76 driver to the changed cfg80211 APIs and syncs the nl80211.h file in iw with the new version from backports-4.14-rc2. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
21 lines
509 B
Diff
21 lines
509 B
Diff
--- a/drivers/net/wireless/marvell/mwl8k.c
|
|
+++ b/drivers/net/wireless/marvell/mwl8k.c
|
|
@@ -6266,6 +6266,8 @@ static int mwl8k_probe(struct pci_dev *p
|
|
|
|
priv->running_bsses = 0;
|
|
|
|
+ wait_for_completion(&priv->firmware_loading_complete);
|
|
+
|
|
return rc;
|
|
|
|
err_stop_firmware:
|
|
@@ -6299,8 +6301,6 @@ static void mwl8k_remove(struct pci_dev
|
|
return;
|
|
priv = hw->priv;
|
|
|
|
- wait_for_completion(&priv->firmware_loading_complete);
|
|
-
|
|
if (priv->fw_state == FW_STATE_ERROR) {
|
|
mwl8k_hw_reset(priv);
|
|
goto unmap;
|