cfg80211: use cfg80211_wext_freq() for freq conversion
authorHolger Schurig <h.schurig@mn-solutions.de>
Fri, 11 Sep 2009 08:13:53 +0000 (10:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Sep 2009 18:36:04 +0000 (14:36 -0400)
commita4e7b730f1c8c9179def7033a024183c58cf2538
treeb81bee6f9c4a69b5b9c81a2c03fe8284a6662daf
parentd37b7da39dbac8197e41a5f9c8162730f6b36d8b
cfg80211: use cfg80211_wext_freq() for freq conversion

WEXT's "struct iw_freq" can also be used to handle a channel. This patch now
uses cfg80211_wext_freq() instead of hand-converting the frequency. That
allows user-space to specify channels as well, like with SIOCSIWFREQ.

Signed-off-by: Holger Schurig <hs4233@mail.mn-solutions.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/scan.c