mac80211: report operating frequency rather than current
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 4 May 2009 15:52:10 +0000 (17:52 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 6 May 2009 19:15:02 +0000 (15:15 -0400)
commit7738231f98578c8cd5b367441b4aa79ce864856f
treeafe231f16d42afd6a78e7c1e44a3999f1dca1b59
parent1b06bb4087d195d8289919df2f4d95ec3b89769e
mac80211: report operating frequency rather than current

It's not very helpful to see, in iwconfig, the current frequency
the card is tuned to if that frequency is currently somewhere
across the board because we're scanning. Since we keep track of
the frequency the user wants, display that instead.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/wext.c