mac80211: reorder channel and freq reporting in wext scan report
authorTomas Winkler <tomas.winkler@intel.com>
Thu, 22 May 2008 22:36:36 +0000 (01:36 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 28 May 2008 20:43:43 +0000 (16:43 -0400)
commit9381be059bf5831d259e8735005cfa35b7488543
treeac65a2e43915cba20d339a6040670e3376daa6dc
parent3bf0a32e22fedc0b46443699db2d61ac2a883ac4
mac80211: reorder channel and freq reporting in wext scan report

This patch switch order of channel and freq (SIOCGIWFREQ) reports
in scan results in order to overcome wpa_supplicant inability
to handle channel numbers in 5.2Ghz band.
Wext reporting channel number is ambiguous as channels 7-12 (802.11j)
exist on both bands.

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c