Explorar el Código

Merge "qca-wifi: Fix Gccv7 compilation warning" into win_wlan_host.1.0

Linux Build Service Account hace 4 años
padre
commit
7671adaea2
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5 5
      dp_wrap/src/dp_wrap_mat.c

+ 5 - 5
dp_wrap/src/dp_wrap_mat.c

@@ -383,11 +383,11 @@ int dp_wrap_mat_tx(struct dp_wrap_vdev *wvdev, wbuf_t buf)
 				if (pktlen < contig_len)
 					return -EINVAL;
 
-					/*replace the HW address with the VMA*/
-					phwaddr = (eth_icmp6_lladdr_t *)
-							((u8 *)(p_icmp6 + 1));
-					break;
-				}
+				/*replace the HW address with the VMA*/
+				phwaddr = (eth_icmp6_lladdr_t *)
+						((u8 *)(p_icmp6 + 1));
+				break;
+			}
 			default:
 				change_packet = 0;
 				break;