]> git.baikalelectronics.ru Git - kernel.git/commit
iwl3945: fix compilation error in iwl3945_pass_packet_to_mac80211()
authorKalle Valo <kalle.valo@iki.fi>
Wed, 12 Aug 2009 11:07:27 +0000 (14:07 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 14 Aug 2009 13:14:04 +0000 (09:14 -0400)
commit066682a83311460a563facebc47dea5d2749a4f9
tree1636d0dcfe07e14f96b8c26d9a20c81f0a962e73
parentcafcc807275e73e02bf42dfd7f6c9a71f592acdd
iwl3945: fix compilation error in iwl3945_pass_packet_to_mac80211()

Commit "iwlwifi: Traffic type and counter for debugFs" broke iwl3945 in
a case when CONFIG_IWLWIFI_LEDS is disabled:

drivers/net/wireless/iwlwifi/iwl-3945.c:580: error: 'hdr' undeclared (first use in this function)

Fix it by removing the ifdef check for hdr variable.

Signed-off-by: Kalle Valo <kalle.valo@iki.fi>
Acked-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945.c