qcacmn: Fix bug in Hawkeye emulation WAR

Fix address check in Hawkeye emulation WAR.

Change-Id: Ia0a70d0b49084b891a74ca440d9a46485b68dd17
This commit is contained in:
Karunakar Dasineni 2017-05-16 15:01:53 -07:00 • committed by snandini
commit b92ecffc25

View file

@ -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__);