소스 검색

qcacmn: Fix bug in Hawkeye emulation WAR

Fix address check in Hawkeye emulation WAR.

Change-Id: Ia0a70d0b49084b891a74ca440d9a46485b68dd17
Karunakar Dasineni 8 년 전
부모
커밋
b92ecffc25
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      qdf/linux/src/qdf_nbuf.c

+ 1 - 1
qdf/linux/src/qdf_nbuf.c

@@ -206,7 +206,7 @@ realloc:
 	 * Though we are trying to reserve low memory upfront to prevent this,
 	 * we sometimes see SKBs allocated from low memory.
 	 */
-	if (virt_to_phys(qdf_nbuf_data(skb) < 0x50000040)) {
+	if (virt_to_phys(qdf_nbuf_data(skb)) < 0x50000040) {
 		lowmem_alloc_tries++;
 		if (lowmem_alloc_tries > 100) {
 			qdf_print("%s Failed \n",__func__);