summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dev.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/dev.c b/src/lib/dev.c
index 60dee701..6d8411c5 100644
--- a/src/lib/dev.c
+++ b/src/lib/dev.c
@@ -177,11 +177,13 @@ int flow_alloc(char * dst_name,
int fd = 0;
if (dst_name == NULL ||
- src_ap_name == NULL ||
- qos == NULL) {
+ src_ap_name == NULL) {
return -EINVAL;
}
+ if (src_ae_name == NULL)
+ src_ae_name = UNKNOWN_AE;
+
msg.code = IRM_MSG_CODE__IRM_FLOW_ALLOC;
msg.dst_name = dst_name;
msg.ap_name = src_ap_name;