summaryrefslogtreecommitdiffstats
path: root/drivers/staging/wlan-ng/prism2mgmt.c
diff options
context:
space:
mode:
authorYash Omer <yashomer0007@gmail.com>2018-02-16 13:05:20 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-02-16 15:36:16 +0100
commitbeb7b033f4910b092d149d84c60ce49c0deb5935 (patch)
tree9d6891ade42faaf50dc7f113877a57a96ed1f57a /drivers/staging/wlan-ng/prism2mgmt.c
parente6dd870a0080787b472ab8895bef91486c70ebcf (diff)
downloadlinux-beb7b033f4910b092d149d84c60ce49c0deb5935.tar.gz
linux-beb7b033f4910b092d149d84c60ce49c0deb5935.tar.bz2
linux-beb7b033f4910b092d149d84c60ce49c0deb5935.zip
Staging: wlan-ng: fix unnecessary parantheses in prism2mgmt.c
This patch fixes up a unncessary paratheses warning found by checkpatch.pl script. Signed-off-by: Yash Omer <yashomer0007@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlan-ng/prism2mgmt.c')
-rw-r--r--drivers/staging/wlan-ng/prism2mgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c
index 78934e435fcf..d7de9e9c47a2 100644
--- a/drivers/staging/wlan-ng/prism2mgmt.c
+++ b/drivers/staging/wlan-ng/prism2mgmt.c
@@ -563,7 +563,7 @@ int prism2mgmt_start(struct wlandevice *wlandev, void *msgp)
/*** STATION ***/
/* Set the REQUIRED config items */
/* SSID */
- pstr = (struct p80211pstrd *)&(msg->ssid.data);
+ pstr = (struct p80211pstrd *)&msg->ssid.data;
prism2mgmt_pstr2bytestr(p2bytestr, pstr);
result = hfa384x_drvr_setconfig(hw, HFA384x_RID_CNFOWNSSID,
bytebuf, HFA384x_RID_CNFOWNSSID_LEN);