commit | 5306c0807491e891125f4fb08b04340c91530f57 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Jun 21 08:28:31 2011 -0700 |
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | Fri Jun 24 11:21:24 2011 -0700 |
tree | 0b5bd616007da0bf45f7486c48aae7a22bbd3297 | |
parent | 77e569edf5a33cd94dac67c714cf736675b0e2da [diff] |
iwlagn: fix change_interface for P2P types When an interface changes type to a P2P type, iwlagn will erroneously set vif->type to the P2P type and not the reduced/split type. Fix this by keeping "newtype" in another variable for the assignment to vif->type. Cc: stable@kernel.org [2.6.38+] Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>