aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/iwi
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2007-08-29 21:52:03 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2007-08-29 21:52:03 +0000
commit06035e8252c41100ddc4418cb7fc53c1ed0c7f9d (patch)
tree6734ae3535412207d6b226185f055e804af6ee18 /sys/dev/iwi
parent57b7fe337e89dfff89a880012eadb58a9745f81e (diff)
downloadsrc-06035e8252c41100ddc4418cb7fc53c1ed0c7f9d.tar.gz
src-06035e8252c41100ddc4418cb7fc53c1ed0c7f9d.zip
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)
Notes
Notes: svn path=/head/; revision=172012
Diffstat (limited to 'sys/dev/iwi')
-rw-r--r--sys/dev/iwi/if_iwi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c
index c671f76577e4..205d66c7268b 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));