OSDN Git Service

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>
Wed, 23 Sep 2009 15:35:39 +0000 (11:35 -0400)
commit50425b0977c53c6ac608f0b2c8a562a5c7cd5602
tree4e81902d774bcf126ee7ea4b8e5f17daf3a205d8
parent10a01bfd4e077ff03a4ace76a6d9b81272f91678
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