aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2015-09-16 07:26:18 +0000
committerKevin Lo <kevlo@FreeBSD.org>2015-09-16 07:26:18 +0000
commit97ad4604d7903a1feb18dcbad15015e73d97c74b (patch)
treedfe97c4f9141d7d7ad3e2db9554bc1d92e321d6a /sys/dev/usb
parent4bae8310037676061279421a6cbde7ec8c318df7 (diff)
downloadsrc-97ad4604d7903a1feb18dcbad15015e73d97c74b.tar.gz
src-97ad4604d7903a1feb18dcbad15015e73d97c74b.zip
Use M_WAITOK rather than M_NOWAIT since it's not used within
interrupt context.
Notes
Notes: svn path=/head/; revision=287854
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/wlan/if_ural.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/wlan/if_ural.c b/sys/dev/usb/wlan/if_ural.c
index fa2c71485df5..187a47a6d6a1 100644
--- a/sys/dev/usb/wlan/if_ural.c
+++ b/sys/dev/usb/wlan/if_ural.c
@@ -566,7 +566,7 @@ ural_vap_create(struct ieee80211com *ic, const char name[IFNAMSIZ], int unit,
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 */