Commit d50c761a authored by Fariya Fatima's avatar Fariya Fatima Committed by John W. Linville
Browse files

rsi: Fixed issue relating to return value.

Signed-off-by: default avatarFariya Fatima <>
Signed-off-by: John W. Linville's avatarJohn W. Linville <>
parent 57a2a093
......@@ -247,7 +247,7 @@ static int rsi_process_pkt(struct rsi_common *common)
if (!common->rx_data_pkt) {
rsi_dbg(ERR_ZONE, "%s: Failed in memory allocation\n",
return -1;
return -ENOMEM;
status = rsi_sdio_host_intf_read_pkt(adapter,
......@@ -260,12 +260,10 @@ static int rsi_process_pkt(struct rsi_common *common)
status = rsi_read_pkt(common, rcv_pkt_len);
return status;
return -1;
return status;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment