[PATCH 8/8] staging: ks7010: Rename refactored function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Function was not named during initial refactoring.

Give function new meaningful name.

Signed-off-by: Tobin C. Harding <me@xxxxxxxx>
---
 drivers/staging/ks7010/ks_hostif.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ks7010/ks_hostif.c b/drivers/staging/ks7010/ks_hostif.c
index ca1051ff..e58ce42 100644
--- a/drivers/staging/ks7010/ks_hostif.c
+++ b/drivers/staging/ks7010/ks_hostif.c
@@ -402,7 +402,7 @@ static void check_13th_byte_of_rx_data(struct ks_wlan_private *priv)
 }
 
 #define ERROR -1		/* FIXME */
-static int function_needs_naming(struct ks_wlan_private *priv,
+static int check_mic(struct ks_wlan_private *priv,
 				struct ether_hdr *eth_hdr)
 {
 	unsigned short auth_type;
@@ -508,7 +508,7 @@ void hostif_data_indication(struct ks_wlan_private *priv)
 
 	/*  for WPA */
 	if (auth_type != TYPE_DATA && priv->wpa.rsn_enabled) {
-		err = function_needs_naming(priv, eth_hdr);
+		err = check_mic(priv, eth_hdr);
 		if (err)
 			return;
 	}
-- 
2.7.4

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux