iwlwifi: don't switch to SGI if not supported by AP
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 15 May 2008 05:54:08 +0000 (13:54 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 22 May 2008 01:48:00 +0000 (21:48 -0400)
commita98410139a2ef6553ae5d73bf12bb9a68d0b38b9
tree55401ad30cf0ecc3f007704e6d523567f040124b
parentfd4abac54a7a7f1c0acad5ddc1fbf4af22f92569
iwlwifi: don't switch to SGI if not supported by AP

This patch fixes SGI support. RS didn't look at the capabilities of the AP
before switching to SGI, this should lead to a stall in the traffic with an
AP that doesn't support SGI.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Guy Cohen <guy.cohen@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl4965-base.c