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/0ed3c19a21e8
branches:  trunk
changeset: 378017:0ed3c19a21e8
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 18377daab6a5 -r 0ed3c19a21e8 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