staging:vt6656:dpc.c:Fix parantheses alignment
This patch fixes "Alignment should match open parantheses" check thrown by checkpatch.pl Signed-off-by: Rithvik Patibandla <rithvikp98@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1322739849
commit
87c3caa2e2
|
@ -34,7 +34,7 @@
|
|||
#include "rf.h"
|
||||
|
||||
int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
|
||||
unsigned long bytes_received)
|
||||
unsigned long bytes_received)
|
||||
{
|
||||
struct ieee80211_hw *hw = priv->hw;
|
||||
struct ieee80211_supported_band *sband;
|
||||
|
@ -87,10 +87,10 @@ int vnt_rx_data(struct vnt_private *priv, struct vnt_rcb *ptr_rcb,
|
|||
|
||||
/*Fix hardware bug => PLCP_Length error */
|
||||
if (((bytes_received - (*pay_load_len)) > 27) ||
|
||||
((bytes_received - (*pay_load_len)) < 24) ||
|
||||
(bytes_received < (*pay_load_len))) {
|
||||
((bytes_received - (*pay_load_len)) < 24) ||
|
||||
(bytes_received < (*pay_load_len))) {
|
||||
dev_dbg(&priv->usb->dev, "Wrong PLCP Length %x\n",
|
||||
*pay_load_len);
|
||||
*pay_load_len);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue