]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/wireless/lib80211_crypt_tkip.c
Merge branch 'x86-cleanups-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[mirror_ubuntu-artful-kernel.git] / net / wireless / lib80211_crypt_tkip.c
index 71447cf863067ca7be13b7c0b5011a44a3645b49..ba0a1f398ce580a978a9d2e4ccd366cb5b644738 100644 (file)
@@ -556,7 +556,7 @@ static void michael_mic_hdr(struct sk_buff *skb, u8 * hdr)
                memcpy(hdr, hdr11->addr3, ETH_ALEN);    /* DA */
                memcpy(hdr + ETH_ALEN, hdr11->addr4, ETH_ALEN); /* SA */
                break;
-       case 0:
+       default:
                memcpy(hdr, hdr11->addr1, ETH_ALEN);    /* DA */
                memcpy(hdr + ETH_ALEN, hdr11->addr2, ETH_ALEN); /* SA */
                break;