wl12xx: set correct vif type in change_interface callback
authorEliad Peller <eliad@wizery.com>
Sun, 4 Mar 2012 08:55:50 +0000 (10:55 +0200)
committerLuciano Coelho <coelho@ti.com>
Mon, 5 Mar 2012 13:45:25 +0000 (15:45 +0200)
commit249e9698899643a799951a6e772facae346f0941
tree550b8b6d107df1e45ec2d6c6007dea2a82fb897e
parentb32b2b0f8ea82cb51d70b88815c25e0f1c0cf7a5
wl12xx: set correct vif type in change_interface callback

In some cases, the wrong vif type was set in the
change_interface callback (P2P_CLIENT/P2P_GO instead
of STA/AP)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c