Fix missing bracket in patch for bug 892599
This commit is contained in:
parent
bb8f037654
commit
6bc67342f3
@ -36,7 +36,7 @@ index 640afab..baaa860 100644
|
|||||||
case NL80211_IFTYPE_P2P_DEVICE:
|
case NL80211_IFTYPE_P2P_DEVICE:
|
||||||
/* relies on synchronize_rcu() below */
|
/* relies on synchronize_rcu() below */
|
||||||
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
|
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c
|
||||||
index baaa860..937174b 100644
|
index baaa860..7a3d675 100644
|
||||||
--- a/net/mac80211/iface.c
|
--- a/net/mac80211/iface.c
|
||||||
+++ b/net/mac80211/iface.c
|
+++ b/net/mac80211/iface.c
|
||||||
@@ -748,8 +748,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
|
@@ -748,8 +748,7 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
|
||||||
@ -61,7 +61,7 @@ index baaa860..937174b 100644
|
|||||||
break;
|
break;
|
||||||
case NL80211_IFTYPE_P2P_DEVICE:
|
case NL80211_IFTYPE_P2P_DEVICE:
|
||||||
/* relies on synchronize_rcu() below */
|
/* relies on synchronize_rcu() below */
|
||||||
@@ -848,28 +844,30 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
|
@@ -848,28 +844,31 @@ static void ieee80211_do_stop(struct ieee80211_sub_if_data *sdata,
|
||||||
|
|
||||||
drv_remove_interface_debugfs(local, sdata);
|
drv_remove_interface_debugfs(local, sdata);
|
||||||
|
|
||||||
@ -98,6 +98,7 @@ index baaa860..937174b 100644
|
|||||||
+
|
+
|
||||||
+ if (hw_reconf_flags)
|
+ if (hw_reconf_flags)
|
||||||
+ ieee80211_hw_config(local, hw_reconf_flags);
|
+ ieee80211_hw_config(local, hw_reconf_flags);
|
||||||
|
+ }
|
||||||
}
|
}
|
||||||
|
|
||||||
- /* do after stop to avoid reconfiguring when we stop anyway */
|
- /* do after stop to avoid reconfiguring when we stop anyway */
|
||||||
|
Loading…
Reference in New Issue
Block a user