diff options
author | thompsa <thompsa@FreeBSD.org> | 2007-08-29 21:52:03 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2007-08-29 21:52:03 +0000 |
commit | a4486f549c8566ec425cf3b3071e2724b54438c0 (patch) | |
tree | 6734ae3535412207d6b226185f055e804af6ee18 /sys/dev/iwi | |
parent | 7ec8dd9926ab5c3c2ebef9074ac3b1868f9f1c45 (diff) | |
download | FreeBSD-src-a4486f549c8566ec425cf3b3071e2724b54438c0.zip FreeBSD-src-a4486f549c8566ec425cf3b3071e2724b54438c0.tar.gz |
Remove the lock assert from iwi_newstate, this function does not need the lock
to be held and this will falsely trigger if called from net80211.
Reported by: Munehiro (haro) Matsuda
Reviewed by: sam
Approved by: re (kensmith)
Diffstat (limited to 'sys/dev/iwi')
-rw-r--r-- | sys/dev/iwi/if_iwi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index c671f76..205d66c 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -957,7 +957,6 @@ iwi_newstate(struct ieee80211com *ic, enum ieee80211_state nstate, int arg) struct iwi_softc *sc = ifp->if_softc; int error = 0; - IWI_LOCK_ASSERT(sc); DPRINTF(("%s: %s -> %s flags 0x%x\n", __func__, ieee80211_state_name[ic->ic_state], ieee80211_state_name[nstate], sc->flags)); |