X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fwireless%2Fhostap%2Fhostap_hw.c;h=d500012fdc7a5446aef8315c5dc7172ee4b2eb8e;hb=699a71238856b19091503c671bac8abb1e3f9a3a;hp=dafaa5ff5aa693d065f85cc4777e1c53c3c7054a;hpb=51bece910d2b0aca64cd3dee9fa2a8aa7feeadd9;p=pandora-kernel.git diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index dafaa5ff5aa6..d500012fdc7a 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c @@ -1042,6 +1042,9 @@ static int prism2_reset_port(struct net_device *dev) dev->name, local->fragm_threshold); } + /* Some firmwares lose antenna selection settings on reset */ + (void) hostap_set_antsel(local); + return res; }