]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e2db37b476d3448eec804cecbb675ef3f2cdcd5
treeafe231f16d42afd6a78e7c1e44a3999f1dca1b59
parentfcb758fc1921b68e5e6bb0b3df3b731de9c92353
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