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/7a78cfdd5b0f
branches:  trunk
changeset: 375797:7a78cfdd5b0f
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 11a185eeab7c -r 7a78cfdd5b0f 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 @@ ieee80211_start_pkt(struct ieee80211vap 
        /*
         * 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