mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-23 19:00:06 +01:00
wifi: fix B/G band adhoc wifi auto channel selection
This commit is contained in:
parent
5a9b7b42d1
commit
c309a2bc8a
1 changed files with 1 additions and 1 deletions
|
|
@ -1469,7 +1469,7 @@ channel_to_freq (guint32 channel, const char *band)
|
|||
} else if (!strcmp (band, "bg")) {
|
||||
while (bg_table[i].chan && (bg_table[i].chan != channel))
|
||||
i++;
|
||||
return a_table[i].freq;
|
||||
return bg_table[i].freq;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue