Browse Source

Merge branch 'upstream-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 into upstream-fixes

Jeff Garzik 19 years ago
parent
commit
357eb4cf75
1 changed files with 3 additions and 0 deletions
  1. 3 0
      drivers/net/wireless/hostap/hostap_hw.c

+ 3 - 0
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;
 }