Skip to content

Commit

Permalink
[PATCH] hostap update
Browse files Browse the repository at this point in the history
Fixed beacon frame when moving from monitor mode to master mode
(workaround for firmware bug that left IBSS IE in the Beacon
frames). This is using the same workaround that was previously used
when moving from adhoc mode to master mode.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
  • Loading branch information
Jouni Malinen authored and Jeff Garzik committed Jul 30, 2005
1 parent b15eff2 commit f3b10e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/hostap/hostap_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1182,7 +1182,8 @@ static int prism2_ioctl_siwmode(struct net_device *dev,
if (local->iw_mode == IW_MODE_MONITOR)
hostap_monitor_mode_disable(local);

if (local->iw_mode == IW_MODE_ADHOC && *mode == IW_MODE_MASTER) {
if ((local->iw_mode == IW_MODE_ADHOC ||
local->iw_mode == IW_MODE_MONITOR) && *mode == IW_MODE_MASTER) {
/* There seems to be a firmware bug in at least STA f/w v1.5.6
* that leaves beacon frames to use IBSS type when moving from
* IBSS to Host AP mode. Doing double Port0 reset seems to be
Expand Down

0 comments on commit f3b10e1

Please sign in to comment.