summaryrefslogtreecommitdiffstats
path: root/net/mac80211/main.c
diff options
context:
space:
mode:
authorIvo van Doorn <ivdoorn@gmail.com>2009-07-28 18:58:54 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:43:22 -0400
commitad2f34b41fd6e2b84c896ccf321d5de0a7c7cd52 (patch)
treeb4b62e124fe438132f4695b556f4a502d585bbe3 /net/mac80211/main.c
parent33172899a9d922b04081e12dced3ae474d46d620 (diff)
downloadop-kernel-dev-ad2f34b41fd6e2b84c896ccf321d5de0a7c7cd52.zip
op-kernel-dev-ad2f34b41fd6e2b84c896ccf321d5de0a7c7cd52.tar.gz
rt2x00: Fix build error when crypto support is disabled
When only rt2400pci or rt2500pci is compiled without any of the other rt2x00 modules, then CONFIG_RT2X00_LIB_CRYPTO will not be enabled. However rt2x00mac_set_tim() implemented within #ifdef CONFIG_RT2X00_LIB_CRYPTO statements while the declaration is placed outside the definition. This results in linking errors as reporte by Ken. rt2x00_set_tim() has nothing to do with crypto, and thus should be moved outside of the #ifdef statements. Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud