Date: Wed, 16 Sep 2015 07:26:19 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r287854 - head/sys/dev/usb/wlan Message-ID: <201509160726.t8G7QJ2g051885@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Wed Sep 16 07:26:18 2015 New Revision: 287854 URL: https://svnweb.freebsd.org/changeset/base/287854 Log: Use M_WAITOK rather than M_NOWAIT since it's not used within interrupt context. Modified: head/sys/dev/usb/wlan/if_ural.c Modified: head/sys/dev/usb/wlan/if_ural.c ============================================================================== --- head/sys/dev/usb/wlan/if_ural.c Wed Sep 16 07:18:54 2015 (r287853) +++ head/sys/dev/usb/wlan/if_ural.c Wed Sep 16 07:26:18 2015 (r287854) @@ -566,7 +566,7 @@ ural_vap_create(struct ieee80211com *ic, if (!TAILQ_EMPTY(&ic->ic_vaps)) /* only one at a time */ return NULL; - uvp = malloc(sizeof(struct ural_vap), M_80211_VAP, M_NOWAIT | M_ZERO); + uvp = malloc(sizeof(struct ural_vap), M_80211_VAP, M_WAITOK | M_ZERO); vap = &uvp->vap; /* enable s/w bmiss handling for sta mode */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509160726.t8G7QJ2g051885>