Skip to content

Commit

Permalink
[PATCH] libertas: fix default adhoc channel
Browse files Browse the repository at this point in the history
Inadvertently removed on a previous commit; causes the first
adhoc start to fail if a channel has not been set or no
other association has been made.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Dan Williams authored and John W. Linville committed Jun 11, 2007
1 parent 80e78ef commit ac26f81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/libertas/fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ static void wlan_init_adapter(wlan_private * priv)
adapter->prescan = 1;

memset(&adapter->curbssparams, 0, sizeof(adapter->curbssparams));
adapter->curbssparams.channel = DEFAULT_AD_HOC_CHANNEL;

/* PnP and power profile */
adapter->surpriseremoved = 0;
Expand Down

0 comments on commit ac26f81

Please sign in to comment.