staging: wlan-ng: cfg80211: Remove unnecessary parentheses around variables
The patch fixes the checkpatch.pl check: CHECK: Unnecessary parentheses around variable Signed-off-by: sayli karnik <karniksayli1995@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
67fafe375a
commit
efffed8e06
@ -375,13 +375,13 @@ static int prism2_scan(struct wiphy *wiphy,
|
|||||||
ie_buf[0] = WLAN_EID_SSID;
|
ie_buf[0] = WLAN_EID_SSID;
|
||||||
ie_buf[1] = msg2.ssid.data.len;
|
ie_buf[1] = msg2.ssid.data.len;
|
||||||
ie_len = ie_buf[1] + 2;
|
ie_len = ie_buf[1] + 2;
|
||||||
memcpy(&ie_buf[2], &(msg2.ssid.data.data), msg2.ssid.data.len);
|
memcpy(&ie_buf[2], &msg2.ssid.data.data, msg2.ssid.data.len);
|
||||||
freq = ieee80211_channel_to_frequency(msg2.dschannel.data,
|
freq = ieee80211_channel_to_frequency(msg2.dschannel.data,
|
||||||
NL80211_BAND_2GHZ);
|
NL80211_BAND_2GHZ);
|
||||||
bss = cfg80211_inform_bss(wiphy,
|
bss = cfg80211_inform_bss(wiphy,
|
||||||
ieee80211_get_channel(wiphy, freq),
|
ieee80211_get_channel(wiphy, freq),
|
||||||
CFG80211_BSS_FTYPE_UNKNOWN,
|
CFG80211_BSS_FTYPE_UNKNOWN,
|
||||||
(const u8 *)&(msg2.bssid.data.data),
|
(const u8 *)&msg2.bssid.data.data,
|
||||||
msg2.timestamp.data, msg2.capinfo.data,
|
msg2.timestamp.data, msg2.capinfo.data,
|
||||||
msg2.beaconperiod.data,
|
msg2.beaconperiod.data,
|
||||||
ie_buf,
|
ie_buf,
|
||||||
|
Loading…
Reference in New Issue
Block a user