Explorar o código

qcacmn: Fix bug in Hawkeye emulation WAR

Fix address check in Hawkeye emulation WAR.

Change-Id: Ia0a70d0b49084b891a74ca440d9a46485b68dd17
Karunakar Dasineni %!s(int64=8) %!d(string=hai) anos
pai
achega
b92ecffc25
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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__);