]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ath9k: fix panic while cleaning up virtaul wifis
authorRajkumar Manoharan <rmanoharan@atheros.com>
Thu, 8 Jul 2010 06:42:29 +0000 (12:12 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Jul 2010 17:52:45 +0000 (13:52 -0400)
commit447a42c2feb1091f217c1d50000d8cddf39addb5
tree5a4066686fa0c3fdd803f65b974ab1d5c094d133
parent6eb90d46c59a75ceeccfef7c6c6705fb64b593dc
ath9k: fix panic while cleaning up virtaul wifis

num_sec_wiphy means max secondary wifis that the driver can accomudate.
So cancelling wiphy work should be based on the presence of
secondary wifis.

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/init.c
drivers/net/wireless/ath/ath9k/main.c