Jelajahi Sumber

qca-wifi: Fix Gccv7 compilation warning

Fixed the following warning: [-Werror=misleading-indentation]

CRs-Fixed: 2689691
Change-Id: I86c34921957c2b327e5e8d613a6d776cb71e25e8
Naresh Parati 4 tahun lalu
induk
melakukan
0785f73be9
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  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;