iwlwifi: reduce beacon fill conditions
authorJohannes Berg <johannes.berg@intel.com>
Thu, 15 Jul 2010 12:59:07 +0000 (05:59 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 23 Jul 2010 15:42:40 +0000 (08:42 -0700)
commit6abbe554bab8ab908b3963577e14dc2e716fd485
tree75503622b83a5cbfe3d64e5f4c41fe3ea9b4b354
parentc6fa17ed3fadaf056173c409c0877df428a152ec
iwlwifi: reduce beacon fill conditions

Since the ibss_beacon variable will only be
filled in the appropriate modes, there's no
reason to be checking the mode again.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl3945-base.c