Browse Source

qcacmn: Fix bug in Hawkeye emulation WAR

Fix address check in Hawkeye emulation WAR.

Change-Id: Ia0a70d0b49084b891a74ca440d9a46485b68dd17
Karunakar Dasineni 8 years ago
parent
commit
b92ecffc25
1 changed files with 1 additions and 1 deletions
  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__);