svn commit: r287854 - head/sys/dev/usb/wlan
Kevin Lo
kevlo at FreeBSD.org
Wed Sep 16 07:26:19 UTC 2015
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 */
More information about the svn-src-head
mailing list