From f0f2a06c6dd51bf9a5ed50d51c6029064180b4b3 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 9 Feb 2015 17:28:30 -0600 Subject: [PATCH] rtl8188eu: Fix a missing cpu_to_le16 Signed-off-by: Larry Finger --- core/rtw_mlme_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rtw_mlme_ext.c b/core/rtw_mlme_ext.c index 15f458b..1f04ebc 100755 --- a/core/rtw_mlme_ext.c +++ b/core/rtw_mlme_ext.c @@ -3769,7 +3769,7 @@ static void issue_p2p_GO_confirm(struct adapter *padapter, u8* raddr, u8 result) // Type: p2pie[ p2pielen++ ] = P2P_ATTR_CH_LIST; - *(u16*) ( p2pie + p2pielen ) = 6; + *(__le16 *) ( p2pie + p2pielen ) = cpu_to_le16(6); p2pielen += 2; // Country String