Skip to content

Commit

Permalink
[PATCH] hostap: Restore antenna selection settings after port reset
Browse files Browse the repository at this point in the history
Intersil firmware 1.7.4 (and possibly others) loses the antenna
selection settings when the port is reset.

Signed-off-by: David Acker <dacker@roinet.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Pavel Roskin authored and John W. Linville committed Aug 23, 2006
1 parent 794ccda commit 9b5cce0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/hostap/hostap_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 9b5cce0

Please sign in to comment.