]> err.no Git - linux-2.6/commit
cfg80211: don't export ieee80211_get_channel
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 26 Mar 2008 13:14:55 +0000 (14:14 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Mar 2008 20:03:20 +0000 (16:03 -0400)
commit6c507cd0400cb51dd2ee251c1b8756b9375a1128
tree2b3d44a34e2c3d2ba1e9e0c557fb0730227f5bb4
parent7d5796118353cd45e9e301fdf3ff99fdec5390e9
cfg80211: don't export ieee80211_get_channel

This patch makes ieee80211_get_channel a static inline defined in
cfg80211's header file which simply calls __ieee80211_get_channel
to avoid symbol clashes with the ieee80211 code.

The problem was pointed out by David Miller, thanks!

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/wireless.h
net/wireless/util.c