Re: [PATCH 5/5] ath6kl: fix crash when interface is closed but scan is ongoing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan Carpenter <error27@xxxxxxxxx> writes:

> On Wed, Jun 08, 2011 at 02:55:01PM +0300, Kalle Valo wrote:
>> -        /* Translate data to cfg80211 mgmt format */
>> -	if (ar->arWmi)
>             ^^^^^^^^^
> 	You removed this check on purpose?  Is this only NULL when
> 	the scan is canceled?

It's null only when the module is being destroyed. And I changed it so
that when ar6000_destroy() aborts the scan we do not use ar->arWmi at
all and avoid the crash.

-- 
Kalle Valo
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux