rtl8188eu: Chnage "=NULL" to "= NULL"

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2015-08-15 13:31:56 -05:00
parent 16d2a24227
commit 51e6fae39e
21 changed files with 88 additions and 88 deletions

View file

@ -350,12 +350,12 @@ struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wl
/* To reduce PBC Overlap rate */
if (wdev_to_priv(wdev)->scan_request != NULL)
{
u8 *psr=NULL, sr = 0;
u8 *psr= NULL, sr = 0;
struct ndis_802_11_ssid *pssid = &pnetwork->network.Ssid;
struct cfg80211_scan_request *request = wdev_to_priv(wdev)->scan_request;
struct cfg80211_ssid *ssids = request->ssids;
u32 wpsielen=0;
u8 *wpsie=NULL;
u8 *wpsie= NULL;
wpsie = rtw_get_wps_ie(pnetwork->network.IEs+_FIXED_IE_LENGTH_, pnetwork->network.IELength-_FIXED_IE_LENGTH_, NULL, &wpsielen);
@ -377,7 +377,7 @@ struct cfg80211_bss *rtw_cfg80211_inform_bss(struct adapter *padapter, struct wl
}
else
{
if (psr !=NULL)
if (psr != NULL)
*psr = 0; /* clear sr */
}
@ -521,7 +521,7 @@ int rtw_cfg80211_check_bss(struct adapter *padapter)
pnetwork->Ssid.SsidLength,
WLAN_CAPABILITY_ESS, WLAN_CAPABILITY_ESS);
return (bss!=NULL);
return (bss!= NULL);
}
void rtw_cfg80211_ibss_indicate_connect(struct adapter *padapter)
@ -1957,9 +1957,9 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy
struct ndis_802_11_ssid ssid[RTW_SSID_SCAN_AMOUNT];
struct rtw_ieee80211_channel ch[RTW_CHANNEL_SCAN_AMOUNT];
unsigned long irqL;
u8 *wps_ie=NULL;
u8 *wps_ie= NULL;
uint wps_ielen=0;
u8 *p2p_ie=NULL;
u8 *p2p_ie= NULL;
uint p2p_ielen=0;
u8 survey_times=3;
u8 survey_times_for_one_ch=6;
@ -2234,7 +2234,7 @@ static int rtw_cfg80211_set_key_mgt(struct security_priv *psecuritypriv, u32 key
static int rtw_cfg80211_set_wpa_ie(struct adapter *padapter, u8 *pie, size_t ielen)
{
u8 *buf=NULL, *pos=NULL;
u8 *buf= NULL, *pos= NULL;
u32 left;
int group_cipher = 0, pairwise_cipher = 0;
int ret = 0;

View file

@ -501,7 +501,7 @@ static char *translate_scan(struct adapter *padapter,
{ /* parsing WPS IE */
uint cnt = 0,total_ielen;
u8 *wpsie_ptr=NULL;
u8 *wpsie_ptr= NULL;
uint wps_ielen = 0;
u8 *ie_ptr = pnetwork->network.IEs +_FIXED_IE_LENGTH_;
@ -840,7 +840,7 @@ exit:
static int rtw_set_wpa_ie(struct adapter *padapter, char *pie, unsigned short ielen)
{
u8 *buf=NULL, *pos=NULL;
u8 *buf= NULL, *pos= NULL;
u32 left;
int group_cipher = 0, pairwise_cipher = 0;
int ret = 0;
@ -3907,7 +3907,7 @@ static int rtw_p2p_get_go_device_address(struct net_device *dev,
spin_unlock_bh(&(pmlmepriv->scanned_queue.lock));
if (!blnMatch) {
sprintf(go_devadd_str, "\n\ndev_add=NULL");
sprintf(go_devadd_str, "\n\ndev_add= NULL");
} else {
sprintf(go_devadd_str, "\n\ndev_add=%.2X:%.2X:%.2X:%.2X:%.2X:%.2X",
attr_content[0], attr_content[1], attr_content[2], attr_content[3], attr_content[4], attr_content[5]);

View file

@ -90,7 +90,7 @@ inline void _rtw_vmfree(u8 *pbuf, u32 sz)
u8* _rtw_malloc(u32 sz)
{
u8 *pbuf=NULL;
u8 *pbuf= NULL;
pbuf = kmalloc(sz,in_interrupt() ? GFP_ATOMIC : GFP_KERNEL);
@ -893,7 +893,7 @@ static int openFile(struct file **fpp, char *path, int flag, int mode)
fp=filp_open(path, flag, mode);
if (IS_ERR(fp)) {
*fpp=NULL;
*fpp= NULL;
return PTR_ERR(fp);
}
else {

View file

@ -234,7 +234,7 @@ int rtw_recv_indicatepkt(struct adapter *padapter, union recv_frame *precv_frame
if (check_fwstate(pmlmepriv, WIFI_AP_STATE) == true)
{
struct sk_buff *pskb2=NULL;
struct sk_buff *pskb2= NULL;
struct sta_info *psta = NULL;
struct sta_priv *pstapriv = &padapter->stapriv;
struct rx_pkt_attrib *pattrib = &precv_frame->u.hdr.attrib;

View file

@ -1304,7 +1304,7 @@ static void rtw_dev_remove(struct usb_interface *pusb_intf)
#ifdef CONFIG_INTEL_PROXIM
rtw_sw_export=NULL;
rtw_sw_export= NULL;
#endif
;