diff options
author | Ben Greear <greearb@candelatech.com> | 2011-01-15 19:13:48 +0000 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-19 11:36:11 -0500 |
commit | 4801416c76a3a355076d6d371c00270dfe332e1c (patch) | |
tree | e445749a5c5549e1f919e0a9a3f2d5956ae699b5 /net/ipv6 | |
parent | f0b8220c64242e19f41ad1b4eec3225d53715cbe (diff) |
ath9k: Fix up hardware mode and beacons with multiple vifs.
When using a mixture of AP and Station interfaces,
the hardware mode was using the type of the
last VIF registered. Instead, we should keep track
of the number of different types of vifs and set the
mode accordingly.
In addtion, use the vif type instead of hardware opmode
when dealing with beacons.
Attempt to move some of the common setup code into smaller
methods so we can re-use it when changing vif mode as
well as adding/deleting vifs.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions