]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Fix mode settings with split wiphy dump
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Mar 2013 00:01:46 +0000 (02:01 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 19 Mar 2013 00:01:46 +0000 (02:01 +0200)
commitc30a4ab045cef9c6d8936fb710105262b3c6dbe5
tree411a7bd0dd1e69b3354765d058f1f373e10dcb90
parent09491b739281f63b124d7fddd7011df577218f3b
nl80211: Fix mode settings with split wiphy dump

When the wiphy information is split, there's no guarantee that the
channels are processed before the bitrates; in fact, with the current
kernel it happens the other way around. Therefore, the mode information
isn't set up correctly and there's no 11g mode.

Fix this by doing the 11b/11g determination as part of the
postprocessing.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
src/drivers/driver_nl80211.c