mac80211: Recalculate channel-type on iface removal.
authorBen Greear <greearb@candelatech.com>
Mon, 31 Jan 2011 19:30:09 +0000 (11:30 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 3 Feb 2011 21:44:43 +0000 (16:44 -0500)
commit2cf22b897c63df65e7360a1897e5312c58617fbd
tree6fe5490470468b749f8d9dedd60834b0c46d2716
parent4e6975f7b8ca31febaa94a1ee1acfb5322f8a82b
mac80211: Recalculate channel-type on iface removal.

When a vif goes away, it could cause the super-chan
to be recalculated differently, so do that calculation
on iface removal.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/iface.c