staging: vt6656: use %pM for the BSSID
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a6737c738c
commit
d3cc13a24b
@ -129,9 +129,8 @@ PKnownBSS BSSpSearchBSSList(void *hDeviceContext,
|
|||||||
unsigned int ii = 0;
|
unsigned int ii = 0;
|
||||||
unsigned int jj = 0;
|
unsigned int jj = 0;
|
||||||
if (pbyDesireBSSID != NULL) {
|
if (pbyDesireBSSID != NULL) {
|
||||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"BSSpSearchBSSList BSSID[%02X %02X %02X-%02X %02X %02X]\n",
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
|
||||||
*pbyDesireBSSID,*(pbyDesireBSSID+1),*(pbyDesireBSSID+2),
|
"BSSpSearchBSSList BSSID[%pM]\n", pbyDesireBSSID);
|
||||||
*(pbyDesireBSSID+3),*(pbyDesireBSSID+4),*(pbyDesireBSSID+5));
|
|
||||||
if ((!is_broadcast_ether_addr(pbyDesireBSSID)) &&
|
if ((!is_broadcast_ether_addr(pbyDesireBSSID)) &&
|
||||||
(memcmp(pbyDesireBSSID, ZeroBSSID, 6)!= 0)){
|
(memcmp(pbyDesireBSSID, ZeroBSSID, 6)!= 0)){
|
||||||
pbyBSSID = pbyDesireBSSID;
|
pbyBSSID = pbyDesireBSSID;
|
||||||
@ -218,7 +217,9 @@ PKnownBSS BSSpSearchBSSList(void *hDeviceContext,
|
|||||||
}
|
}
|
||||||
|
|
||||||
pMgmt->pSameBSS[jj].uChannel = pCurrBSS->uChannel;
|
pMgmt->pSameBSS[jj].uChannel = pCurrBSS->uChannel;
|
||||||
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"BSSpSearchBSSList pSelect1[%02X %02X %02X-%02X %02X %02X]\n",*pCurrBSS->abyBSSID,*(pCurrBSS->abyBSSID+1),*(pCurrBSS->abyBSSID+2),*(pCurrBSS->abyBSSID+3),*(pCurrBSS->abyBSSID+4),*(pCurrBSS->abyBSSID+5));
|
DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO
|
||||||
|
"BSSpSearchBSSList pSelect1[%pM]\n",
|
||||||
|
pCurrBSS->abyBSSID);
|
||||||
jj++;
|
jj++;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user