diff options
Diffstat (limited to 'drivers/net/wireless/libertas/join.c')
-rw-r--r-- | drivers/net/wireless/libertas/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/join.c b/drivers/net/wireless/libertas/join.c index 2b538ab51d40..08034917d4b5 100644 --- a/drivers/net/wireless/libertas/join.c +++ b/drivers/net/wireless/libertas/join.c | |||
@@ -814,7 +814,7 @@ int libertas_ret_80211_ad_hoc_start(wlan_private * priv, | |||
814 | /* Send a Media Connected event, according to the Spec */ | 814 | /* Send a Media Connected event, according to the Spec */ |
815 | adapter->connect_status = LIBERTAS_CONNECTED; | 815 | adapter->connect_status = LIBERTAS_CONNECTED; |
816 | 816 | ||
817 | if (command == CMD_RET_802_11_AD_HOC_START) { | 817 | if (command == CMD_RET(CMD_802_11_AD_HOC_START)) { |
818 | /* Update the created network descriptor with the new BSSID */ | 818 | /* Update the created network descriptor with the new BSSID */ |
819 | memcpy(bss->bssid, padhocresult->bssid, ETH_ALEN); | 819 | memcpy(bss->bssid, padhocresult->bssid, ETH_ALEN); |
820 | } | 820 | } |