Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/net80211 Revert to previous.



details:   https://anonhg.NetBSD.org/src-all/rev/a9eced649f51
branches:  trunk
changeset: 369396:a9eced649f51
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Mon Aug 08 04:52:02 2022 +1000

description:
Revert to previous.

diffstat:

 sys/net80211/ieee80211_output.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (16 lines):

diff -r d1acc12806b4 -r a9eced649f51 sys/net80211/ieee80211_output.c
--- a/sys/net80211/ieee80211_output.c   Sun Aug 07 22:31:11 2022 +1000
+++ b/sys/net80211/ieee80211_output.c   Mon Aug 08 04:52:02 2022 +1000
@@ -379,11 +379,8 @@
        /*
         * Cancel any background scan.
         */
-       if (ic->ic_flags & IEEE80211_F_SCAN) {
-               IEEE80211_UNLOCK(ic);
+       if (ic->ic_flags & IEEE80211_F_SCAN)
                ieee80211_cancel_anyscan(vap);
-               IEEE80211_LOCK(ic);
-       }
        /* 
         * Find the node for the destination so we can do
         * things like power save and fast frames aggregation.



Home | Main Index | Thread Index | Old Index